You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding some code to a notebook that performs matplotlib-based export of some of my plots but forgetting to add MPL as a backend via hv.extension('bokeh', 'matplotlib'), PNGs were successfully exported via the MPL backend, but the main HV backend also then switched from Bokeh to matplotlib. If 'matplotlib' is included in hv.extension, as it should be, this problem does not occur. I guess this is a case of HoloViews interacting weirdly with user error.
%matplotlibinlineimportholoviewsashvimportnumpyasnphv.extension('bokeh', 'matplotlib') # OR without matplotlibim_hv=hv.Image(np.random.randint(0, 10, size=(512, 512)))
display(im_hv)
display(hv.render(im_hv, backend='matplotlib'))
display(im_hv)
Including both backends as extensions:
Without including matplotlib:
The text was updated successfully, but these errors were encountered:
After adding some code to a notebook that performs matplotlib-based export of some of my plots but forgetting to add MPL as a backend via
hv.extension('bokeh', 'matplotlib')
, PNGs were successfully exported via the MPL backend, but the main HV backend also then switched from Bokeh to matplotlib. If'matplotlib'
is included inhv.extension
, as it should be, this problem does not occur. I guess this is a case of HoloViews interacting weirdly with user error.Including both backends as extensions:
Without including matplotlib:
The text was updated successfully, but these errors were encountered: