Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
matplotlib in spyder
#3
It still does not work.

Sorry I forgot to add one line of code.

import numpy as np
data = np.arange(10)
data
plt.plot(data)
fig = plt.figure()
I tried adding plt.show()

[python]
import matplotlib.pyplot as plt
import numpy as np
data = np.arange(10)
data
plt.plot(data)
fig = plt.figure()
plt.show()
[\python]
Reply


Messages In This Thread
matplotlib in spyder - by Scott - May-11-2018, 03:32 AM
RE: matplotlib in spyder - by Larz60+ - May-11-2018, 06:36 AM
RE: matplotlib in spyder - by Scott - May-11-2018, 06:46 AM
RE: matplotlib in spyder - by Larz60+ - May-11-2018, 01:06 PM
RE: matplotlib in spyder - by Scott - May-11-2018, 07:12 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020