Change the color of the axis as on Bokeh

Is it possible to change the color of the axis from default black to something else?
I am using the Bokeh backend and I read that it is possible in native Bokeh (https://docs.bokeh.org/en/latest/docs/user_guide/styling.html#styling-axes). It is also possible on native Matplotlib (https://stackoverflow.com/questions/1982770/matplotlib-changing-the-color-of-an-axis)

I can not find the corresponding option in the holoviews docs, so maybe it is not implemented or I am unable to find it. Has anyone else had experience with this?

Thanks in advance and kind regards,
Christopher

Willkommen der Christopher,

well indeed, axis_line_color is not available using the opts method. You can however access the bokeh object directly. I invite you to read http://holoviews.org/user_guide/Plotting_with_Bokeh.html to find out how to access the underlying bokeh figure or axes.

http://holoviews.org/user_guide/Customizing_Plots.html#Plot-hooks

Hi,

thank you very much for providing the link! I havent read that before, but now I know that there is more than one way for manipulating the Bokeh plot directly.

1 Like

Hi,

thank you aswell for providing the link to the documentation and a direct implementation hint.

1 Like