python - Changing the background color of the axes planes of a matplotlib 3D plot -
Based on matplotlib, how can I change the brown background of 3 axis grid planes? I would like to set it grid lines in white form with the default brown color I found but I could not apply it for example. Thank you.
Using the same example. You can set the panel color by using the set_pane_color
method as described here. You can set color by using RGBA Tuple:
# scatter3d_demo.py # ... # Background color of the panel YZ ax.w_xaxis.set_pane_color ((1.0, 1.0, 1.0, 1.0)) plt.show ()
Comments
Post a Comment