8000 Merge pull request #19247 from anntzer/3dexmark · matplotlib/matplotlib@6d694cf · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6d694cf

Browse files
authored
Merge pull request #19247 from anntzer/3dexmark
Fix markup for mplot3d example.
2 parents e904fa3 + 1e8915a commit 6d694cf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/mplot3d/pathpatch3d.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Draw flat objects in 3D plot
44
============================
55
6-
Demonstrate using pathpatch_2d_to_3d to 'draw' shapes and text on a 3D plot.
6+
Demonstrate using `.pathpatch_2d_to_3d` to 'draw' shapes and text on a 3D plot.
77
"""
88

99
import numpy as np
@@ -16,11 +16,11 @@
1616

1717
def text3d(ax, xyz, s, zdir="z", size=None, angle=0, usetex=False, **kwargs):
1818
"""
19-
Plots the string 's' on the axes 'ax', with position 'xyz', size 'size',
20-
and rotation angle 'angle'. 'zdir' gives the axis which is to be treated
21-
as the third dimension. usetex is a boolean indicating whether the string
22-
should be interpreted as latex or not. Any additional keyword arguments
23-
are passed on to transform_path.
19+
Plots the string *s* on the axes *ax*, with position *xyz*, size *size*,
20+
and rotation angle *angle*. *zdir* gives the axis which is to be treated as
21+
the third dimension. *usetex* is a boolean indicating whether the string
22+
should be run through a LaTeX subprocess or not. Any additional keyword
23+
arguments are forwarded to `.transform_path`.
2424
2525
Note: zdir affects the interpretation of xyz.
2626
"""

0 commit comments

Comments
 (0)
0