Skip to content

Commit

Permalink
Avoid accessing private attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom authored Aug 9, 2022
1 parent 3cba8dc commit 09cd646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_axisgrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@ def test_tick_params(self):
for tick in getattr(ax, axis).get_major_ticks():
assert mpl.colors.same_color(tick.tick1line.get_color(), color)
assert mpl.colors.same_color(tick.tick2line.get_color(), color)
assert tick._width == width
assert tick.tick1line.get_linewidth() == width


class TestJointGrid:
Expand Down

0 comments on commit 09cd646

Please sign in to comment.