Web服务器上的交互式图

Web服务器上的交互式图

本文介绍了Matplotlib:Web服务器上的交互式图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前在我的django网站上使用 ,但我发现它不够定制。 (当你想要通常的barcharts,派图,但是自制的形状怎么样...)是非常好的。虽然它是开源的,但我不喜欢在Flex代码中进行潜水。



我在想很多关于matplotlib但是在Web应用程序开发中相当差。 p>

有人在他的网络应用程序中使用matplotlib吗?
我会欣赏这些网站上的链接,找出可以实现的内容。
谢谢

解决方案

如果您正在Web应用程序中寻找类似Flash的交互性,那么matplotlib可能不是你在找什么不过,将静态图像呈现在网络应用程序中是很好的。 (并且非常灵活)



然而,最近开发了很多关于使matplotlib更加面向Web交互的开发。看看新的HTML5 / Canvas后端。 尚未完成,不过还是值得一玩。


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.

I'm thinking a lot about matplotlib but the documentation is rather poor on web application developpment.

Does anybody uses matplotlib in his web app?I would appreciate links on those web sites to figure out what can be achieved.Thanks

解决方案

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)

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服务器上的交互式图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 17:26