【问题标题】:plt.imshow() doesn't show proper masked array(np.ma.masked_where())plt.imshow() 没有显示正确的掩码数组(np.ma.masked_where())
【发布时间】:2020-05-15 10:00:27
【问题描述】:

我在尝试使用 plt.imshow()np.ma.masked_where() 从分段掩码绘制掩码数组时遇到了这个问题。我以前使用过这个代码,它工作得很好。但现在它显示不完整的面具。我该如何解决这个问题?

【问题讨论】:

    标签: python numpy matplotlib segmentation-fault mask


    【解决方案1】:

    只需安装 matplotlib 3.1.3 版

    【讨论】:

      猜你喜欢
      • 2017-07-08
      • 2018-03-19
      • 2013-05-16
      • 2019-02-10
      • 2010-12-09
      • 2015-06-07
      • 1970-01-01
      • 1970-01-01
      • 2017-04-02
      相关资源
      最近更新 更多