Skip to content

Commit

Permalink
Apply scalebar length to subcoordinate_y range (#6420)
Browse files Browse the repository at this point in the history
  • Loading branch information
droumis authored Oct 22, 2024
1 parent 4b668d3 commit 2e4979b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions holoviews/plotting/bokeh/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -2443,6 +2443,8 @@ def _draw_scalebar(self, *, plot, renderer):
'background_fill_color': 'white',
'background_fill_alpha': 0.6,
'length_sizing': 'adaptive',
'bar_length_units': 'data',
'bar_length': 0.8,
# Adding location so people can overwrite the default
'location': location,
}
Expand Down

0 comments on commit 2e4979b

Please sign in to comment.