New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow resizing figures in notebook #1193
Comments
I think this is something we can do. |
I am wondering whether we should look into how to integrate the matplotlib HMTL5 canvas backend http://code.google.com/p/mplh5canvas/ |
The mplh5canvas features list doesn't look too encouraging:
Ouch. |
I think they use websocket for frontend/backend communication. If we can replace that with ipython's one... , I can help to take a look some time in the furture |
See #1881 for improving/switching to SVG matplotlib output. Scaling SVG plots holding the aspect ratio fixed is possible now just using CSS. Changing the aspect ratio requires requesting matplotlib to re-plot. Zooming or panning (as is possible in the matplotlib gtk/qt interface) is not currently possible, and would require writing a new backend along the lines of mplh5canvas. |
We can do zooming and panning with the current inline backend and a JavaScript widget that uses our display system. It shouldn't be too bad actually. |
Hi,
Best, |
Envoyé de mon iPhone Le 16 sept. 2013 à 21:05, Sylvain Corlay notifications@github.com a écrit :
|
|
In current master, the figure are resizeable inside the notebook, so probably we can close this one... |
@damianavila Is this still true? Running IPython Notebook 3.0.1 here..... Vanilla install. Ubuntu. This is not resizable from the notebook:
|
I don't think so... IIRC, there was some problem with the re sizing and we defined to have no resizable figures... let me find the issues/PRs... OK here: #8098 and here: #8062 |
@damianavila Thanks. |
This is a feature request.
matplotlib figures are interactive when using the default backend. If would be useful have have at least the resizing functionality in the notebook interface.
It would be nice to have resizeable figures in the notebook interface, at least in the cases where it's easy to implement (is it possible to do it e.g. for SVG output only?)
The text was updated successfully, but these errors were encountered: