Matplotlib:Web 服务器上的交互式绘图 [英] Matplotlib: interactive plot on a web server
问题描述
我目前在我的 Django 网站上使用 Open Flash Chart 2,但我发现它的可定制性不足.(当您想要通常的条形图、饼图时,这很棒,但是自制形状呢...).虽然它是开源的,但我不想在 Flex 代码中潜水.
I'm currently using Open Flash Chart 2 on my django website, but I find it insufficiently customizable. (It's great when you want the usual barcharts, piecharts, but what about homemade shapes...). Although it's open source, I don't feel like diving in the Flex code.
我对 matplotlib 有很多想法,但 文档 在 Web 应用程序开发方面相当糟糕.
I'm thinking a lot about matplotlib but the documentation is rather poor on web application developpment.
有人在他的网络应用程序中使用 matplotlib 吗?我很感激这些网站上的链接,以找出可以实现的目标.谢谢
Does anybody uses matplotlib in his web app? I would appreciate links on those web sites to figure out what can be achieved. Thanks
推荐答案
如果您正在 Web 应用程序中寻找类似 Flash 的交互性,matplotlib 可能不是您所需要的.不过,渲染静态图像以在 Web 应用程序中提供是很好的.(而且非常灵活)
If you're looking for flash-like interactivity in a web application, matplotlib probably isn't what you're looking for. It's fine for rendering a static image to serve out in a web app, though. (and is amazingly flexible)
然而,最近在使 matplotlib 更加面向网络交互方面取得了很多进展.看看新的 HTML5/Canvas 后端.http://code.google.com/p/mplh5canvas/ 还没完,但无论如何,它值得一试.
However, there's been a lot of recent development on making matplotlib more oriented toward web interactivity. Take a look at the new HTML5/Canvas backend. http://code.google.com/p/mplh5canvas/ It's not quite finished yet, but it's worth playing around with, anyway.
这篇关于Matplotlib:Web 服务器上的交互式绘图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!