@@ -87,7 +87,7 @@ def add_legend_at(fig, position='right'):
8787 "border_fill_color" : '#00000000' ,
8888 "background_fill_color" : '#00000000' ,
8989 "x_range.range_padding" : 0.1 ,
90- "xgrid.grid_line_color" : None ,
90+ # "xgrid.grid_line_color": None,
9191 "xaxis.major_label_orientation" : 1 ,
9292 "title.text_font_size" : '18px' ,
9393 "yaxis.axis_label_text_font_size" : '18px' ,
@@ -744,6 +744,8 @@ def create_legend_corr(fig, colors=['red', 'blue', 'green', 'red', 'red', 'red']
744744 tools = '' )
745745 leg_items = create_legend_items (5 , size_min = 0 , color = colors , fig = fig2 , scale_m = scale_m ) #[("circle", [circle])]
746746
747+ fig2 .background_fill_color = '#00000000' #F7F7F7', #transparent
748+ fig2 .border_fill_color = '#00000000'
747749 fig2 .xaxis .axis_line_alpha = 0
748750 fig2 .yaxis .axis_line_alpha = 0
749751 fig2 .xgrid .grid_line_alpha = 0
@@ -872,5 +874,7 @@ def interactive_wordcloud(wordcloud, **kwargs):
872874 glyph = Text (x = "x" , y = "y" , text = "text" , angle = 'angle' , angle_units = 'deg' ,
873875 text_color = "color" , text_font_size = 'font_size' , text_font = {'value' : font_family }, ** kwargs )
874876 fig .add_glyph (source , glyph )
875-
877+
878+ fig .background_fill_color = '#00000000' #F7F7F7', #transparent
879+ fig .border_fill_color = '#00000000'
876880 return fig
0 commit comments