當(dāng)前位置:
首頁(yè) >
python matplotlib.pyplot.show() plt.show()(显示一个图表)
發(fā)布時(shí)間:2025/3/20
42
豆豆
生活随笔
收集整理的這篇文章主要介紹了
python matplotlib.pyplot.show() plt.show()(显示一个图表)
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
from matplotlib\pyplot.py
def show(*args, **kw):"""Display a figure.顯示一個(gè)圖表。When running in ipython with its pylab mode, display allfigures and return to the ipython prompt.當(dāng)以pylab模式在ipython中運(yùn)行時(shí),顯示所有圖形并返回到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.在非交互模式下,顯示所有圖形并阻止直到圖形關(guān)閉。 在交互模式下,除非在非交互模式更改為交互模式之前創(chuàng)建圖形(不推薦),否則它不會(huì)起作用。 在這種情況下,它會(huì)顯示圖形,但不會(huì)阻塞。A single experimental keyword argument, *block*, may beset to True or False to override the blocking behaviordescribed above.可以將單個(gè)實(shí)驗(yàn)關(guān)鍵字參數(shù)* block *設(shè)置為True或False,以覆蓋上述阻止行為。"""global _showreturn _show(*args, **kw) 與50位技術(shù)專家面對(duì)面20年技術(shù)見證,附贈(zèng)技術(shù)全景圖總結(jié)
以上是生活随笔為你收集整理的python matplotlib.pyplot.show() plt.show()(显示一个图表)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【深度学习的数学】“2×4×1层带sig
- 下一篇: python matplotlib.py