Hi All,
The majority of the docs for matplotlib focus on making its behaviour like that of Matlab, however, I'm looking to use it to generate graphs for display by web apps.
Where can I find good examples of doing this?
(ie: multi-threaded, multi-process apps which may by simulaneously generating many plots for different users using different data)
cheers,
Chris
···
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
Haven’t tried it out myself, but you might want to check out the HTML5 backend that has been worked on by some members of the community:
http://code.google.com/p/mplh5canvas/
I hope this helps!
Ben Root
···
On Sun, Aug 21, 2011 at 12:42 PM, Chris Withers <chris@…1920…> wrote:
Hi All,
The majority of the docs for matplotlib focus on making its behaviour
like that of Matlab, however, I’m looking to use it to generate graphs
for display by web apps.
Where can I find good examples of doing this?
(ie: multi-threaded, multi-process apps which may by simulaneously
generating many plots for different users using different data)
cheers,
Chris
Check out this FAQ
http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-web-application-server
and the guide to the matplotlib OO heirachy
http://matplotlib.sourceforge.net/users/artists.html
and all of the examples in the API directory
http://matplotlib.sourceforge.net/examples/api/index.html
which emphasize the OO API and avoid the state-machine of the pylab
matlab-like interface
JDH
···
On Sun, Aug 21, 2011 at 12:42 PM, Chris Withers <chris@...1920...> wrote:
Hi All,
The majority of the docs for matplotlib focus on making its behaviour
like that of Matlab, however, I'm looking to use it to generate graphs
for display by web apps.
Where can I find good examples of doing this?
(ie: multi-threaded, multi-process apps which may by simulaneously
generating many plots for different users using different data)