Skip to content Skip to sidebar Skip to footer

Matplotlib 3d Plot Colors Appear Darker Than Normal

I'm using the mpl_toolkits to plot surfaces in 3d using Axes3D and plot_surface. I visualize the output in the following way, You can clearly see that there is a grey tint to the

Solution 1:

use shade argument:

ax.plot_surface(X, Y, Z, rstride=1, cstride=1, 
                facecolors=cm.coolwarm(F), shade=False)

Post a Comment for "Matplotlib 3d Plot Colors Appear Darker Than Normal"