Orion constellation project

Below is my Orion constellation project. One difficulty that I found with my code is that I could not figure out how to change the color of the grid lines. Any feedback on the code would be appreciated.

%matplotlib notebook
from matplotlib import pyplot as plt
from mpl_toolkits.mplot3d import Axes3D

# Orion celestial coordinates
x = [-0.41, 0.57, 0.07, 0.00, -0.29, -0.32,-0.50,-0.23, -0.23]
y = [4.12, 7.71, 2.36, 9.10, 13.35, 8.13, 7.19, 13.25,13.43]
z = [2.06, 0.84, 1.56, 2.07, 2.36, 1.72, 0.66, 1.25,1.38]

# Orion 2D
fig_2 = plt.figure(figsize = (4, 4))
ax_2d = fig_2.add_subplot(1, 1, 1)
plt.scatter(x, y, alpha = 0.8, c='w')
ax_2d.set_facecolor('darkblue')
plt.title('2D Orion constellation')
plt.xlabel('x-celestial')
plt.ylabel('y-celestial')
plt.show()
plt.savefig('2D-Orion.png')

image

#Orion 3D
fig_3d = plt.figure(figsize = (8, 5))
ax_3d = fig_3d.add_subplot(1, 1, 1, projection='3d')
constellation3d = ax_3d.scatter(x, y, z, c = 'w')

ax_3d.grid(color = 'black') #why doesn't this change the color of the grid?
ax_3d.w_xaxis.set_pane_color((0, 0, 0.5, 1.0))
ax_3d.w_yaxis.set_pane_color((0, 0, 0.5, 1.0))
ax_3d.w_zaxis.set_pane_color((0, 0, 0.5, 1.0))

plt.title('3D Orion constellation')
ax_3d.set_xlabel('x-celestial')
ax_3d.set_ylabel('y-celestial')
ax_3d.set_zlabel('z-celestial')

plt.show()
plt.savefig('3D-Orion.png')

I also made a figure of the Hydra cluster.

#Hydra celestial coordinates
x1 = [-77.2, -171, -52.2, -44.1, -123, -67.1, -138, -46.9]
y1 = [-47.5, -112, 71.5, 34.1, 29.8, -59.4, 108, 35.2]
z1 = [-45.5, -105, -5.81, -2.69, -65.1, -42.6, -26.6, -11.6]

#Hydra 3D
fig_hydra = plt.figure(figsize = (8, 5))
ax_hydra = fig_hydra.add_subplot(1, 1, 1, projection='3d')
constellation3 = ax_hydra.scatter(x1, y1, z1, c = 'w')

ax_hydra.grid(color = 'black') #why doesn't this change the color of the grid?
ax_hydra.w_xaxis.set_pane_color((0, 0, 0.5, 1.0))
ax_hydra.w_yaxis.set_pane_color((0, 0, 0.5, 1.0))
ax_hydra.w_zaxis.set_pane_color((0, 0, 0.5, 1.0))

plt.title('3D Hydra cluster')
ax_hydra.set_xlabel('x-celestial')
ax_hydra.set_ylabel('y-celestial')
ax_hydra.set_zlabel('z-celestial')

plt.show()
plt.savefig('3D-Hydra.png')