To prevent errors by kaleido in default setup (see #195), plotly plots are not converted to static images anymore by default (so kaleido is not needed and therefore dependency can be removed). This also enables interactive elements in .plot() and ._repr_html_().
The plotting API is also refactored to force some figure defaults for both backends.
Users of ReprMixin now must only override _plot_plotly_ and/or _plot_matplotlib_ methods to enable plotting. They must return a figure object of the respective backend.
To prevent errors by kaleido in default setup (see #195), plotly plots are not converted to static images anymore by default (so kaleido is not needed and therefore dependency can be removed). This also enables interactive elements in
.plot()
and._repr_html_()
.The plotting API is also refactored to force some figure defaults for both backends. Users of
ReprMixin
now must only override_plot_plotly_
and/or_plot_matplotlib_
methods to enable plotting. They must return a figure object of the respective backend.