Plot_surface produces by default a grey gridbox on the background. I would like to lighten the shade of grey and of the black grid but I can't find how to do that.
Asked
Active
Viewed 57 times
0
-
1Does this answer your question? [Matplotlib color 3D gridlines](https://stackoverflow.com/questions/47084987/matplotlib-color-3d-gridlines) As an aside - not plot_surface generates the grid but your axis object defined as 3D projection. – Mr. T Mar 30 '22 at 07:38
-
Not entirely, it changes the grid color only, and permanently (not for just that figure). I also need to change the background of the 3d cube – andrea m. Mar 30 '22 at 09:41
-
1As the matplotlib docs explain, [rcParams can be set for individual figures](https://matplotlib.org/stable/tutorials/introductory/customizing.html#temporary-rc-settings). – Mr. T Mar 30 '22 at 09:46
-
1As for the pane colors, see here: https://stackoverflow.com/q/11448972/8881141 – Mr. T Mar 30 '22 at 09:48