Open poplarShift opened 5 years ago
Apparently, when mixing the two, even when setting curdoc().theme
it is overriden by hv.renderer('bokeh').theme
:
import holoviews as hv
hv.extension('bokeh')
hv.renderer('bokeh').theme = theme
curdoc().theme = theme
l = hv.Bars((['Apples', 'Pears', 'Nectarines', 'Plums', 'Grapes', 'Strawberries'], [5, 3, 4, 2, 4, 6])).opts(width=500)
p = hv.render(l)
bshow(p)
Apparently, in bokeh,
CategoricalAxis
seems to overrideAxis
, but in holoviews, it's the other way around... (I think the pure bokeh way makes much more sense, more specific options overriding the general ones.)