Skip to content

Commit

Permalink
Correctly update extra_ranges on inverted axes
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored and jlstevens committed Jun 12, 2023
1 parent ef9eb98 commit 4d91d40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion holoviews/plotting/bokeh/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,8 @@ def _update_ranges(self, element, ranges):

# ALERT: extra ranges need shared, logx, and stream handling
streaming, log, shared = False, False, False
for dim, extra_y_range in self.handles['extra_y_ranges'].items():
multi_dim = 'x' if self.invert_axes else 'y'
for dim, extra_y_range in self.handles[f'extra_{multi_dim}_ranges'].items():
_, b, _, t = self.get_extents(element, ranges, dimension=dim)
factors = self._get_dimension_factors(element, ranges, dim)
self._update_range(
Expand Down

0 comments on commit 4d91d40

Please sign in to comment.