[IPython-dev] Interactive Matplotlib in the browser

Thomas Kluyver takowl at gmail.com
Fri Oct 12 18:44:48 EDT 2012


On 12 October 2012 21:52, Brian Granger <ellisonbg at gmail.com> wrote:
> They simply don't look at clean at vector based plots, especially now
> that users can resize the images dynamically.  We could increase the
> resolution of the PNGs, but because the PNGs are saved in the notebook
> files, those files could get large.  We have tried to choose a
> resolution/size that looks decent, but that isn't overly big.

With this proposal, couldn't we hook the resize handle up to the
matplotlib rendering? So when the user resizes the image, it triggers
matplotlib to re-render it at the new size. Then the resolution/file
size trade-off is up to the user.

Thomas



More information about the IPython-dev mailing list