V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
silkriver
V2EX  ›  Python

我更新了一篇 Matplotlib 教程,顺便在例子中宣传下 Python 文档翻译项目……

  •  
  •   silkriver · 2019-04-26 10:05:02 +08:00 · 2190 次点击
    这是一个创建于 1819 天前的主题,其中的信息可能已经有所发展或是发生改变。

    欢迎关注—— 数据处理 04:Python 数学绘图库 Matplotlib https://www.jianshu.com/p/6f9f6b2c6067

    py_cn

    4 条回复    2019-04-26 20:40:14 +08:00
    CEBBCAT
        1
    CEBBCAT  
       2019-04-26 13:36:24 +08:00
    初学者问个菜鸡级别的问题:
    ax 由 plt.subplot(111) 赋值,怎样吧 ax.plot 的图像保存为图像?比如 jpeg 或 png ?
    感谢
    CEBBCAT
        2
    CEBBCAT  
       2019-04-26 13:39:01 +08:00
    @CEBBCAT #1 歪打正着弄好了。代码是:ax.figure.savefig(filename)
    necomancer
        3
    necomancer  
       2019-04-26 15:09:38 +08:00
    666 啊,这事儿得多费劲……
    duola
        4
    duola  
       2019-04-26 20:40:14 +08:00
    《 python 编程 从入门到实践》书里面有例子。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5465 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 06:46 · PVG 14:46 · LAX 23:46 · JFK 02:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.