Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
TST: Remove dead code for LogFormatterSciNotation test
`LogFormatterSciNotation.sublabel` is not an attribute that exists.
There is the private `LogFormatterSciNotation._sublabels`, but this
obviously doesn't need to be set as the test is already passing.
  • Loading branch information
QuLogic committed Aug 3, 2023
commit 960efc32253d01a69defee8ff6d636a9b4b49454
1 change: 0 additions & 1 deletion lib/matplotlib/tests/test_ticker.py
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,6 @@ class TestLogFormatterSciNotation:
@pytest.mark.parametrize('base, value, expected', test_data)
def test_basic(self, base, value, expected):
formatter = mticker.LogFormatterSciNotation(base=base)
formatter.sublabel = {1, 2, 5, 1.2}
with mpl.rc_context({'text.usetex': False}):
assert formatter(value) == expected

Expand Down