Simple way of adding a saving tool to mpld3 plots

651 Views Asked by At

mpld3 is great to convert very quickly a matplotlib figure to an interactive HTML file, just one line of code is required:

  mpld3.save_html(fig,filename)

While bokeh requires rewriting the figure code with bokeh commands. However, mpld3 does not provide the very useful and basic tool "save" in addition to zoom and pan.

Has someone found a simple way of adding this tool?

0

There are 0 best solutions below