推荐学习书目
› 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
holajamc
V2EX  ›  Python

求推荐一个 Python 绘图库

  •  
  •   holajamc · Oct 19, 2017 · 4374 views
    This topic created in 3313 days ago, the information mentioned may be changed or developed.

    嗯其实现在是在用 matplotlib 绘制柱状图和饼状图,但是 matplotlib 过于庞大而且对多线程支持也不是很好(可能是姿势不对)

    求一个轻量级的库~ 支持多线程和 png 格式输出~

    Supplement 1  ·  Oct 20, 2017
    目前使用 pygal 导出 svg 转 png,还是可以的~
    17 replies  •  2017-11-26 12:07:01 +08:00
    laoqiren
    laoqiren
    Oct 19, 2017❤️1
    1
    绘图交给 js 啊,echarts,D3 等等
    imn1
    imn1
    Oct 19, 2017❤️1
    2
    @laoqiren
    你确定 LZ 用于 web ?
    iamstrong
    iamstrong
    Oct 19, 2017 via Android❤️1
    3
    seaborn?
    lll9p
    lll9p
    Oct 19, 2017 via Android❤️1
    4
    @iamstrong seaborn 基于 matplotlib
    stebest
    stebest
    Oct 19, 2017❤️1
    6
    pychart?
    hihihihihi
    hihihihihi
    Oct 19, 2017❤️1
    8
    pyqtgraph 性能很吊
    NoAnyLove
    NoAnyLove
    Oct 19, 2017❤️1
    9
    Bokeh ?
    hcnhcn012
    hcnhcn012
    Oct 19, 2017 via iPhone❤️1
    10
    若要对前端更友好的话,Bokeh 吧
    mingyun
    mingyun
    Oct 20, 2017❤️2
    11
    pyecharts
    python-highcharts
    holajamc
    holajamc
    OP
    Oct 20, 2017
    12
    @NoAnyLove @hcnhcn012 @laoqiren @imn1
    情况是这样的,纯后端生成统计图
    因为是导出 word 报告时候生成的图片,所以对前端支持很不友好…谢谢各位~
    holajamc
    holajamc
    OP
    Oct 20, 2017
    13
    @mingyun 因为是导出 word 报告时候生成的图片,所以对前端支持很不友好
    holajamc
    holajamc
    OP
    Oct 20, 2017
    14
    @jakiepaper @stebest
    谢谢推荐,去看看文档~
    holajamc
    holajamc
    OP
    Oct 20, 2017
    15
    @iamstrong @imn1
    seaborn 是最先考虑的……但是看到基于 matplotlib 感觉有些后怕……
    laoqiren
    laoqiren
    Nov 25, 2017❤️1
    16
    @holajamc 是这样,D3 之类的 js 图表库都是提供 Node.js API 的,可以在 Node 端生成。
    holajamc
    holajamc
    OP
    Nov 26, 2017
    17
    @laoqiren 可是为了绘图再引入 nodejs 有些不划算诶
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   978 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 22:35 · PVG 06:35 · LAX 14:35 · JFK 17:35
    ♥ Do have faith in what you're doing.