Skip to content

Commit

Permalink
Fix axis labels when dims not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jul 25, 2023
1 parent 0dd0243 commit a36141a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/bokeh/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def _axis_props(self, plots, subplots, element, ranges, pos, *, dim=None,
if dim:
axis_label = str(dim)
else:
xlabel, ylabel, zlabel = self._get_axis_labels(dims)
xlabel, ylabel, zlabel = self._get_axis_labels(dims if dims else (None, None))
if self.invert_axes:
xlabel, ylabel = ylabel, xlabel
axis_label = ylabel if pos else xlabel
Expand Down

0 comments on commit a36141a

Please sign in to comment.