学习笔记之Matplotlib

Matplotlib: Python plotting — Matplotlib 2.2.2 documentation

  • https://matplotlib.org/
  • Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. Matplotlib can be used in Python scripts, the Python and IPython shells, the Jupyter notebook, web application servers, and four graphical user interface toolkits.
  • Tutorials — Matplotlib 2.2.2 documentation
    • https://matplotlib.org/2.2.2/tutorials/index.html#
    • This page contains more in-depth guides for using Matplotlib. It is broken up into beginner, intermediate, and advanced sections, as well as sections covering specific topics.
  • The Pyplot API — Matplotlib 2.2.2 documentation
    • https://matplotlib.org/2.2.2/api/pyplot_summary.html
    • Below we describe several common approaches to plotting with Matplotlib.

matplotlib - Wikipedia

Matplotlib_百度百科

  • https://baike.baidu.com/item/Matplotlib/20436231?fr=aladdin
  • Matplotlib 是一个 Python 的 2D绘图库,它以各种硬拷贝格式和跨平台的交互式环境生成出版质量级别的图形。

Matplotlib tutorial

  • https://www.labri.fr/perso/nrougier/teaching/matplotlib/

Why after calling plt.show() followed by plt.savefig() , the figure is blank ?
  • plt.show() should come after plt.savefig()

猜你喜欢

转载自www.cnblogs.com/pegasus923/p/9022950.html