- Matplotlib 2.x By Example
- Allen Yu Claire Chung Aldrin Yim
- 64字
- 2021-07-02 19:34:34
Saving the figure
Now we have drawn our first figure. Let's save our work! Surely we don't want to resort to screen capture. Here is a simple way to do it by calling pyplot.savefig().
If you want to both view the image on screen and save it in file, remember to call pyplot.savefig() before pyplot.show() to make sure you don't save a blank canvas.
推薦閱讀
- Oracle從入門到精通(第3版)
- 微服務與事件驅動架構
- MATLAB圖像處理超級學習手冊
- JMeter 性能測試實戰(第2版)
- Programming ArcGIS 10.1 with Python Cookbook
- SQL for Data Analytics
- Learning Linux Binary Analysis
- Visual Basic程序設計與應用實踐教程
- Windows內核編程
- 智能手機APP UI設計與應用任務教程
- PrimeFaces Blueprints
- Java語言程序設計實用教程(第2版)
- FusionCharts Beginner’s Guide:The Official Guide for FusionCharts Suite
- Qt編程快速入門
- Python自動化開發實戰