https://www.codecademy.com/paths/analyze-data-with-python/tracks/ida-5-data-visualization-matplotlib/modules/ida-5-1-introduction-to-matplotlib/informationals/ida-constellations
This is the page and I am on the Jupyter Notebook step 3
where I need to create my 2D visualization.
I wrote the following:
fig = plt.figure()
fig.add_subplot(1,1,1)
fig.scatter(x,y)
plt.show(fig)
I can not figure out what is the input for plt.figure(), I believe this is what I am missing for this project. Anyone have any ideas?
I think your problem is in the last line. It should just be plt.show()
thanks for your help. I skipped a few lessons and this is now more much clear thanks for identifying it!
@davidofswefornia No prob Glad I could help!