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
Basically I would like hvPlot (and holoviews) to provide users with an easy option to select the default look and feel to something that fits their use case and organisation.
I dream of providing this for all backends, but lets start with the bokeh backend.
Question/ Request
I need some functionality or hints to get
css
bokeh plot methods
applied across all plot types (for the bokeh backend).
Example
Basically I need to get the code working for all plots in hvPlot (and holoviews) without Panel and other hacks.
...
# Stylestyle=DEFAULT_STYLE# or DARK_STYLEhv.extension("bokeh")
hv.renderer("bokeh").theme=style.bokeh_theme# adding cmap=style.cmap does not seem to set the cmap on the actual plotopts.defaults(opts.Bivariate(active_tools=style.active_tools, hooks=style.hooks))
# I don't know how to apply css if not with Panelpn.config.raw_css.append(style.css)
plot=df.hvplot.bivariate("accel", "mpg", cut=False, cmap=style.cmap, responsive=True)
# Show the plot: `plot` should also look and feel nice in Jupyter without having to import and use Panel.pn.extension()
pn.panel(plot, sizing_mode="stretch_both").servable()
I was asked to raise a specific issue.
Basically I would like hvPlot (and holoviews) to provide users with an easy option to select the default look and feel to something that fits their use case and organisation.
Providing this (for the bokeh backend) includes
plot.active_toolstoolbar.autohidetoolbar_locationI dream of providing this for all backends, but lets start with the bokeh backend.
Question/ Request
I need some functionality or hints to get
plotmethodsapplied across all plot types (for the bokeh backend).
Example
Basically I need to get the code working for all plots in hvPlot (and holoviews) without Panel and other hacks.
The
hookfunction looks likeThe full code is attached
script.txt
Look and feel
theme_default.mp4
dark_style.mp4
I think there is potential for improvement. But this is already a huge UX improvement.