Matplotlib surface color not solid

后端 未结 1 1830
谎友^
谎友^ 2021-01-22 00:19

When plotting a plane in Matplotlib, I do not get a solid color. I get the following with many shades of red:

I am using Matplotlib version 1.5.1 in Python 3.5.

相关标签:
1条回答
  • 2021-01-22 00:40

    If you do not want any shading the solution is to set shade=False:

    ax.plot_surface(X,Y,Z,color='r', shade=False)
    

    Source: Matplotlib Documentation

    0 讨论(0)
提交回复
热议问题