Orion Constellation Project

Hi, these are my code snippets for the constellation project:

fig = plt.figure()
fig.add_subplot(1,1,1)
plt.scatter(x,y)
plt.title(“2D Star Coordinates”)
plt.xlabel(“x position”)
plt.ylabel(“y position”)
plt.show()

fig_3d = plt.figure()
ax = fig_3d.add_subplot(1,1,1,projection=“3d”)
constellation3d = plt.scatter(x,y,z)
ax.set_xlabel(‘x-position’)
ax.set_ylabel(‘y-position’)
ax.set_zlabel(‘z-position’)
plt.title(“Orion Spatial Coordinates”)
plt.show()

They correctly create the visualizations with axes labels and titles. I’m wondering if there are ways to make the graph more aesthetically pleasing and to make the code more simple. I’d appreciate any feedback!

Link to file: https://github.com/chanhakim/codecademy-data_vis_path/blob/master/constellation-project-chanha.ipynb