I’m in the process of upgrading a library currently relying on matplotlib to use holoviews. An important part of the API is that each plot function can (optionally) take a custom matplotlib Axis to draw on, so that canned plots can be stacked by the user easily. Obviously future uses of the lib should use the great hv layout system, but it would be nice to keep backward compat for existing users.
This seems to allow drawing over the existing “ax” axis, but it is not documented, I found that by reading the code. Can “axis” and “fig” parameters be relied on ?
hv.Store.renderers['matplotlib'].get_plot(foobar, axis=ax, fig=ax.figure)