8000 apply suggested changes in docs · matplotlib/matplotlib@46c2791 · GitHub
[go: up one dir, main page]

Skip to content

Commit 46c2791

Browse files
committed
apply suggested changes in docs
1 parent 68cfd75 commit 46c2791

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:orphan:
22

3-
Transform can rotates text direction
4-
------------------------------------
5-
The new `.Text` parameter ``transform_rotates_text`` now allows to enable
3+
Transform can rotate text direction
4+
-----------------------------------
5+
The new `.Text` parameter ``transform_rotates_text`` now sets whether
66
rotations of the transform affect the text direction.
77

examples/text_labels_and_annotations/text_rotation_relative_to_line.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
to something on the plot. In this case, the correct angle won't be
1111
the angle of that object in the plot coordinate system, but the angle
1212
that that object APPEARS in the screen coordinate system. This angle
13-
can be provided by the helper parameter *transform_rotates_text*, as
14-
shown in the example below.
13+
can be determined automatically by setting the parameter
14+
*transform_rotates_text*, as shown in the example below.
1515
"""
1616

1717
import matplotlib.pyplot as plt

lib/matplotlib/tests/test_text.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import matplotlib.transforms as mtransforms
1414
from matplotlib.testing.decorators import check_figures_equal, image_comparison
1515

16+
1617
needs_usetex = pytest.mark.skipif(
1718
not mpl.checkdep_usetex(True),
1819
reason="This test needs a TeX installation")

0 commit comments

Comments
 (0)
0