[IPython-dev] Interactive Matplotlib in the browser
Michael Droettboom
mdroe at stsci.edu
Sat Oct 13 18:42:47 EDT 2012
On 10/12/2012 06:44 PM, Thomas Kluyver wrote:
> 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.
>
Absolutely -- no reason we couldn't do that.
Mike
More information about the IPython-dev
mailing list