Constellation Project

This is my post of the Constellation project [constellation - Jupyter Notebook]
Could someone please adise me whether or not to upload my constellation.ipynb file? I am confused because the instructions said to request feedback, but elsewhere the guidance was not to post answers.

You could post a link to the notebook that resides in one of your GitHub repos.

1 Like

Thanks Lisa. I need to learn how to set up a GitHub repository. I’ll do that next.

Hello,

I’ve been added my jupyter notebook at : PythonDataVisualization/constellation.ipynb at master · cipriangabur/PythonDataVisualization · GitHub
Thanks!

Here is the link to my Constellation Project

Congrats on finishing the project.

There are however a few issues with the 3D plot. You need to use the 3D axis. Like so (this is my code. I got rid of the grid and background w/ ax3D.grid(False) There’s a lot you can do with the plots too:

fig3d = plt.figure()
ax3D = fig3d.add_subplot(1,1,1, projection="3d")
ax3D.set_facecolor('black')
ax3D.grid(False)
plt.title('3D Constellation: Orion')
ax3D.set_xlabel('x coordinates')
ax3D.set_ylabel('y coordinates')
ax3D.set_zlabel('z coordinates')
...etc

See the docs here:
https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.html