Issue
Is it possible to zoom into a plot if inline is activated? Especially regarding to 3d-plots rotating and zooming is a necessary feature.
Solution
Now thanks to mpld3 it's super easy to enable zooming in inline plots!
All you have to do is install mpld3 (pip install mpld3
), and then add this to your notebook:
%matplotlib inline
import mpld3
mpld3.enable_notebook()
Now your plots will get a toolbar menu at the bottom left, in which you can enable mouse zooming :)
Answered By - yonilevy
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.