Skip to content
Open
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
Next Next commit
TST: reword transform_rotates_text wrap test comment
  • Loading branch information
FazeelUsmani committed Apr 27, 2026
commit 3beddd20d31b880211578dca0013649e35c4d061
4 changes: 2 additions & 2 deletions lib/matplotlib/tests/test_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,8 +778,8 @@ def test_wrap_on_figure_edge(x, y, rotation):


def test_wrap_on_figure_edge_transform_rotates_text():
# Regression test for #31537 - transform_rotates_text with an axis-aligned
# transform can make get_rotation() float-round to 360.0.
# transform_rotates_text with an axis-aligned transform can make
# get_rotation() float-round to 360.0, breaking the wrap logic.
s = 'This is a very long text that should be wrapped multiple times.'

fig = plt.figure(figsize=(6, 4))
Expand Down
Loading