[Matplotlib-devel] Documentation help request for web frameworks

Thomas Caswell tcaswell at gmail.com
Mon Sep 5 14:28:38 EDT 2016


Folks,

I know that there is a use of mpl as part of django / flask / bottle / zope
/ ... to write figures directly to buffers and serve them to users without
writing to disk  (an example of this is
http://scipy-cookbook.readthedocs.io/items/Matplotlib_Django.html , but I
think this is better done via `fig.savefig(bytes_io_buffer, format='png')`
rather than reaching in and touching the canvas directly).

This seems like the sort of thing that should be easy to find in our
documentation.  Is anyone interested in writing up 'canonical' examples?

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20160905/d00bc7d6/attachment.html>


More information about the Matplotlib-devel mailing list