Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 1, 2024
1 parent 3009cb4 commit aa69640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ptable/test_ptable_projector.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_add_element_type_legend_data_types(
assert len(legend.get_texts()) in {1, 2}
legend_labels = {text.get_text() for text in legend.get_texts()}
assert legend_labels <= {"Transition Metal", "Alkali Metal", "Nonmetal"}
assert legend._ncols == 5 # noqa: SLF001
assert legend._ncols == 5

assert legend.get_title().get_text() == legend_title
assert legend.get_texts()[0].get_fontsize() == 12
Expand Down

0 comments on commit aa69640

Please sign in to comment.