Skip to content

Commit d5f062a

Browse files
committed
Make bokeh figures per default transparent
1 parent 51fca7e commit d5f062a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

survey_dashboard/plots.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def add_legend_at(fig, position='right'):
6464

6565
default_theme = {
6666
"figure_kwargs" : {
67+
"background_fill_color" : '#00000000', #F7F7F7', #transparent
68+
"border_fill_color" : '#00000000',
6769
"x_range.range_padding": 0.1,
6870
"xgrid.grid_line_color": None,
6971
"xaxis.major_label_orientation": 1,
@@ -82,6 +84,8 @@ def add_legend_at(fig, position='right'):
8284
}
8385
corr_theme = {
8486
"figure_kwargs" : {
87+
"border_fill_color" : '#00000000',
88+
"background_fill_color" : '#00000000',
8589
"x_range.range_padding": 0.1,
8690
"xgrid.grid_line_color": None,
8791
"xaxis.major_label_orientation": 1,

0 commit comments

Comments
 (0)