Orion Constellation Project

Hi all,

Here is my first off-platform project for Codecademy. It was pretty simple, but I invite your feedback. Maybe there are better ways to post this to GitHub, etc.

Link Here: https://github.com/NicholasFry/Codecademy/blob/main/constellation.ipynb

Thank you!

So far as I can tell github is fine with displaying .ipynb files so I think it’s grand.

Congrats on finishing up. There’s an issue with the 3D graph where you’re using the standard matplotlib.pyplot.scatter function which is a 2D scatter function (all those points are on the same xy plane at z=0.0). You need to be using the scatter method of the 3d axis itself, e.g. ax3d.scatter(x, y, z, s=30, marker… etc.). See the docs for info-


It might be worthwhile considering some additional axis labels or legends to make your figures more immediately readable but that’s up to you.
2 Likes

Thanks for taking a look. I will investigate the scatter function problem. I was working on my end, before posting to GitHub.

Thanks for the tip on the 3Daxes. It does look a lot better now.