python matplotlib.pyplot.show() plt.show()(显示一个图表)
生活随笔
收集整理的這篇文章主要介紹了
python matplotlib.pyplot.show() plt.show()(显示一个图表)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
from matplotlib\pyplot.py
def show(*args, **kw):"""Display a figure.顯示一個圖表。When running in ipython with its pylab mode, display allfigures and return to the ipython prompt.當以pylab模式在ipython中運行時,顯示所有圖形并返回到ipython提示符。In non-interactive mode, display all figures and block untilthe figures have been closed; in interactive mode it has noeffect unless figures were created prior to a change fromnon-interactive to interactive mode (not recommended). Inthat case it displays the figures but does not block.在非交互模式下,顯示所有圖形并阻止直到圖形關閉。 在交互模式下,除非在非交互模式更改為交互模式之前創建圖形(不推薦),否則它不會起作用。 在這種情況下,它會顯示圖形,但不會阻塞。A single experimental keyword argument, *block*, may beset to True or False to override the blocking behaviordescribed above.可以將單個實驗關鍵字參數* block *設置為True或False,以覆蓋上述阻止行為。"""global _showreturn _show(*args, **kw) 與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的python matplotlib.pyplot.show() plt.show()(显示一个图表)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【深度学习的数学】“2×4×1层带sig
- 下一篇: python matplotlib.py