Is it possible to define plot_height = 600 through theme.yml? for example:
attrs:
Figure:
plot_height : 600
Is it possible to define plot_height = 600 through theme.yml? for example:
attrs:
Figure:
plot_height : 600
You can specify any actual Bokeh model properties in the theme. However, plot_height
is a only historical compatibility alias for the actual property, which is height
.
Thank you. What about something like patches? (plot.patches(‘xs’,‘ys’, source = geosource, fill_color = {‘field’ :‘2020’, ‘transform’ : color_mapper}, line_color = ‘black’, line_width = 0.25, fill_alpha = 1))
I tried these codes but did not work
glyphs:
line_color : 'black'
line_width : 0.25
fill_alpha : 1
and
glyphs:
patches:
line_color : 'black'
line_width : 0.25
fill_alpha : 1
and
glyphs:
Patches:
line_color : 'black'
line_width : 0.25
fill_alpha : 1
There is just one flat category attrs
that everything goes under:
attrs:
Patches:
line_color: ...
Plot:
...
See:
Thank you for your answer. Your answer perfectly works (except for line color in Patches). Please consider a fix for future updates if it is a bug.
attrs:
Patches:
line_width : 0.25
fill_alpha : 1
line_color : '#000000'
line_width and fill_alpha works, but not line_color.