0% found this document useful (0 votes)
19 views1 page

Code Python

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views1 page

Code Python

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

conda update conda

conda update jupyter


conda install notebook
#start python
import numpy as np
arr = np.arange(1000000)
# run grid
import matplotlib.pyplot as plt
plt.plot([1,2,3],[4,5,6])
plt.show()
## smart grid
import matplotlib.pyplot as plt

# Sample data
x = [1, 2, 3, 4, 5]
y = [2, 4, 6, 8, 10]

# Create the plot


plt.figure(figsize=(8,5)) # Set figure size
plt.plot(x, y, marker='o', color='teal', linestyle='--', linewidth=2, markersize=8)

# Add labels and title


plt.title("Simple Line Plot", fontsize=16, fontweight='bold')
plt.xlabel("X-axis", fontsize=12)
plt.ylabel("Y-axis", fontsize=12)

# Add grid
plt.grid(True, linestyle=':', linewidth=1, alpha=0.7)

# Show the plot


plt.show()

You might also like