Hi There,
here’s my orion constellation project. (hope I checked the marks out there)
https://github.com/siger212/codecademy/blob/main/constellation.ipynb
thanks
Hi There,
here’s my orion constellation project. (hope I checked the marks out there)
https://github.com/siger212/codecademy/blob/main/constellation.ipynb
thanks
Congratulations on finishing up. For a little bit of criticism, take a close look at your z-axis on the 3D plot. If you’re using the standard matplotlib.pyplot.scatter()
function you will only get 2D plotting as there’s no z
paramater so alll those points sit at z=0.0
.
You need to be using the scatter method of the 3D axis itself, e.g.
fig_3d = plt.figure()
ax_3d = plt.subplot(1, 1, 1, projection="3d")
orion_3d_scatter = ax_3d.scatter(x, y, z ...
See the docs for info-
I’d also encourage you to add labels and units to a plot of this style. Anyone viewing this figure wouldn’t be able to work out what you’ve plotted without reading a paragraph or two of text whereas the figure should really be understandable without accompanying text.