Name 'plt' Is Not Defined

[Solved] Name 'plt' Is Not Defined | Python - Code Explorer | yomemimo.com
Question : name 'plt' is not defined

Answered by : dull-dunlin-w2oumxvbo94e

%matplotlib ipympl
import matplotlib.pyplot as plt
a_x=[1,2,3,4,5,6]
a_y=[1,2,3,4,5,6]
plt.plot(a_x, a_y)
plt.show()

Source : https://stackoverflow.com/questions/53231075/ipython-name-plt-not-defined | Last Update : Thu, 25 Nov 21

Answers related to name 'plt' is not defined

Code Explorer Popular Question For Python