Skip to content

Commit

Permalink
Manual fix F811 - Redefinition of test_only_x_axis_labels
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Aug 9, 2023
1 parent 910889c commit 3ebb07b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion holoviews/plotting/plotly/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ def get_color_opts(self, eldim, element, ranges, style):
if isinstance(eldim, dim):
title = str(eldim)
if eldim.ops:
title = title
pass
elif title.startswith("dim('") and title.endswith("')"):
title = title[5:-2]
else:
Expand Down
2 changes: 1 addition & 1 deletion holoviews/tests/plotting/bokeh/test_multiaxis.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def test_only_x_axis_labels(self):
assert plot.state.yaxis[0].axis_label is None
assert plot.state.yaxis[1].axis_label is None

def test_only_x_axis_labels(self):
def test_none_x_axis_labels(self):
overlay = (
Curve(range(10), vdims=['A']) *
Curve(range(10), vdims=['B'])
Expand Down

0 comments on commit 3ebb07b

Please sign in to comment.