Matplotlib plots not showing up in Mac OSX?

后端 未结 13 574
梦如初夏
梦如初夏 2020-12-12 14:16

I am running Mac OSX 10.5.8. I installed matplotlib using macports. I get some examples from the matplotlib gallery like this one, without modification:

http://matpl

13条回答
  •  一向
    一向 (楼主)
    2020-12-12 14:50

    I had the same problem, even I could see how a new application window was created and immediately disappeared.

    Simple solution - just check if you have

    plt.show()
    

    after the plot

提交回复
热议问题