V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 3828 views
    This topic created in 3116 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
        1
    laoqiren  
       Oct 19, 2017   ❤️ 1
    绘图交给 js 啊,echarts,D3 等等
    imn1
        2
    imn1  
       Oct 19, 2017   ❤️ 1
    @laoqiren
    你确定 LZ 用于 web ?
    iamstrong
        3
    iamstrong  
       Oct 19, 2017 via Android   ❤️ 1
    seaborn?
    lll9p
        4
    lll9p  
       Oct 19, 2017 via Android   ❤️ 1
    @iamstrong seaborn 基于 matplotlib
    stebest
        6
    stebest  
       Oct 19, 2017   ❤️ 1
    pychart?
    jakiepaper
        7
    jakiepaper  
       Oct 19, 2017   ❤️ 1
    hihihihihi
        8
    hihihihihi  
       Oct 19, 2017   ❤️ 1
    pyqtgraph 性能很吊
    NoAnyLove
        9
    NoAnyLove  
       Oct 19, 2017   ❤️ 1
    Bokeh ?
    hcnhcn012
        10
    hcnhcn012  
       Oct 19, 2017 via iPhone   ❤️ 1
    若要对前端更友好的话,Bokeh 吧
    mingyun
        11
    mingyun  
       Oct 20, 2017   ❤️ 2
    pyecharts
    python-highcharts
    holajamc
        12
    holajamc  
    OP
       Oct 20, 2017
    @NoAnyLove @hcnhcn012 @laoqiren @imn1
    情况是这样的,纯后端生成统计图
    因为是导出 word 报告时候生成的图片,所以对前端支持很不友好…谢谢各位~
    holajamc
        13
    holajamc  
    OP
       Oct 20, 2017
    @mingyun 因为是导出 word 报告时候生成的图片,所以对前端支持很不友好
    holajamc
        14
    holajamc  
    OP
       Oct 20, 2017
    @jakiepaper @stebest
    谢谢推荐,去看看文档~
    holajamc
        15
    holajamc  
    OP
       Oct 20, 2017
    @iamstrong @imn1
    seaborn 是最先考虑的……但是看到基于 matplotlib 感觉有些后怕……
    laoqiren
        16
    laoqiren  
       Nov 25, 2017   ❤️ 1
    @holajamc 是这样,D3 之类的 js 图表库都是提供 Node.js API 的,可以在 Node 端生成。
    holajamc
        17
    holajamc  
    OP
       Nov 26, 2017
    @laoqiren 可是为了绘图再引入 nodejs 有些不划算诶
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1874 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 60ms · UTC 00:01 · PVG 08:01 · LAX 17:01 · JFK 20:01
    ♥ Do have faith in what you're doing.