13
edits
Changes
→Getting Started With Jupyter
for counter in[1,2,3,4]:
print(counter)
''' 7. Drawing a graph
import matplotlib.pylab as plt
import numpy as np
x = [0,1,2]
y = [0,1,4]
# to increase the size of the figure we can use
fig = plt.figure(figsize=[12,8])
axes = fig.add_subplot(111) # we are working only with only one chart
# axes.plot(x, y, color="red", linestyle='dashed') # to give style
# axes.plot(x,y)
axes.plot(# fig = plt.figure() # making a figure', markersize=5) # to show data points
plt.show()
== Installing PyTorch ==