9951 explained code solutions for 126 technologies


python-matplotlibMatplotlib usage example


import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.show()ctrl + c
import matplotlib.pyplot as plt

loads Matplotlib module to use plotting capabilities

.plot(

plot specified data

[1,2,3]

sample array of values to plot

.show()

render chart in a separate window