How to hide in IPython notebook

后端 未结 2 714
无人及你
无人及你 2020-12-01 09:00

I am plotting a NumPy array of values, I, using IPython notebook in %matplotlib inline mode with the plot command plt.plot(I,\'o\'). <

2条回答
  •  心在旅途
    2020-12-01 09:29

    Another way is to just write plt.show() at the end of your drawing code. It would take less symbols to type if you're generating many subplots and/or drawing many plots on a single subplot.

提交回复
热议问题