Skip to content

Commit

Permalink
fix with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Apr 2, 2024
1 parent deb502f commit 3cb2307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def _assert_is_valid_plot_return_object(objs):
else:
assert isinstance(objs, (plt.Artist, tuple, dict)), (
"objs is neither an ndarray of Artist instances nor a "
'single Artist instance, tuple, or dict, "objs" is a {!r} '
"".format(objs.__class__.__name__)
f'single Artist instance, tuple, or dict, "objs" is a {objs.__class__.__name__!r} '
""
)


Expand Down

0 comments on commit 3cb2307

Please sign in to comment.