Xaxis/yaxis bokeh theme

Is it possible to modify the xaxis and yxaxis with a bokeh theme yaml file as
I don’t want the same style for both?

I tried to replace Axis with Xaxis but it doesn’t seem to work.

attrs:
    Figure:
        background_fill_color: '#2F2F2F'
        border_fill_color: '#2F2F2F'
        outline_line_color: '#444444'
    Axis: 
        axis_line_color: red

Not presently. Currently all theme values are applied based on type, so the values apply identically to every object of that type. There have been some discussions in the past about possibly extending this in various ways, but to date nothing has been implemented. If you want different properties for different axes, then at least some of those values will have to be set via code.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.