Hi there,
The following is the Jupyter Notebook associated with my Orion Constellation project. Feel free to give any feedback on my code!
#2D Figure
plt.figure(“fig”)
plt.subplot(1,1,1)
plt.scatter(x,y)
plt.savefig(“fig.png”)
plt.show()
#3D Figure
plt.figure(“fig_3d”)
plt.style.use(‘dark_background’)
sub = plt.subplot(1,1,1,projection=“3d”)
constellation3d = sub.scatter(x,y,z,s=100,c=‘red’,marker="*")
plt.savefig(“fig_3d.png”)
plt.show()
Cheers.