使用相同的示例。您可以使用http://matplotlib.org/mpl_toolkits/mplot3d/api.html#axis3d中所述的
set_pane_color方法设置窗格颜色。您可以使用RGBA元组设置颜色:
# scatter3d_demo.py# ...# Set the background color of the pane YZax.w_xaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))plt.show()

使用相同的示例。您可以使用http://matplotlib.org/mpl_toolkits/mplot3d/api.html#axis3d中所述的
set_pane_color方法设置窗格颜色。您可以使用RGBA元组设置颜色:
# scatter3d_demo.py# ...# Set the background color of the pane YZax.w_xaxis.set_pane_color((1.0, 1.0, 1.0, 1.0))plt.show()