How does python Axes3D move the display position of the axis?

from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
plt.rcParams ["font.sans-serif"] = [" STSong"]
plt.rcParams ["axes.unicode_minus"] = False
fig=plt.figure ()
ax=fig.add_subplot
a=np.arange
b=a*2
c=2*np.sin (a)
ax.scatter Color="green")
ax.set_xlabel ("A")
ax.set_ylabel ("B")
ax.set_zlabel ("C")
ax.get_xaxis (). Set_visible (False)
ax.grid (False)
ax.xaxis.pane.fill=False
ax.yaxis.pane.fill=False
ax.zaxis.pane.fill=False
ax.xaxis.pane.set_edgecolor ("w")
ax.yaxis.pane.set_edgecolor ("w")
ax.zaxis.pane .set _ edgecolor ("w")
plt.show ()
how can I move the position of the axis?
clipboard.png

Dec.13,2021

it will be more intuitive if you open the grid (grid), image:

ax.grid(True)

effect:

"", ax.view_init(elev, azim).
:


:

Menu