Skip to content

Commit

Permalink
remove extra toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
slulla committed Mar 1, 2024
1 parent f29d2bb commit 92b9884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transcriptionary/transcriptionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def get_color(color): return color if color[0] == "#" else named_colors[color]

for axis in user_line_params:
for line in user_line_params[axis]['lines']:
user_line_params[axis]['lines'][line]['c olor'] = get_color(user_line_params[axis]['lines'][line]['color'])
user_line_params[axis]['lines'][line]['color'] = get_color(user_line_params[axis]['lines'][line]['color'])

### VARIANTS ###
for variant_set in variant_params:
Expand Down Expand Up @@ -268,7 +268,7 @@ def transcriptionary():

if output_format == 'html': #only add widgets for HTML

empty_plot = figure(plot_height=1500,outline_line_color=None) #for HTML, add white space at bottom so hover boxes are not cut off
empty_plot = figure(plot_height=1500,outline_line_color=None, toolbar_location=None) #for HTML, add white space at bottom so hover boxes are not cut off
empty_plot.line(x=[0], y=[0]) #avoid empty plot warning
empty_plot.yaxis.visible = empty_plot.xaxis.visible = empty_plot.grid.visible = False
plot_ls.append(empty_plot)
Expand Down

0 comments on commit 92b9884

Please sign in to comment.