Hello folks, I just rounded up my Orion constellation project and decided to share for your advice, pls is they any way to do it better, I mean write shorter code lol.
2D visualization of Orion:
fig = plt.figure(figsize=(7, 4))
ax = fig.add_subplot(111)
ax.scatter(x, y, c=‘w’)
ax.set_title(‘Orion constellation 2D View’)
3D Visualization of Orion
fig_3d = plt.figure(figsize=(7, 4))
ax = fig_3d.add_subplot(111, projection=‘3d’)
constellation3d = ax.scatter(x, y, z)
ax.set_title(‘Orion constellation 3D View’)
Tried putting the 3D visualization picture but it says new users can’t post more than 1 picture, sorry about that, please is they anyway I can go about it?
Thanks for reading!