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 1e8915a

Browse filesBrowse files
committed
Fix markup for mplot3d example.
1 parent a5ea869 commit 1e8915a
Copy full SHA for 1e8915a

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎examples/mplot3d/pathpatch3d.py

Copy file name to clipboardExpand all lines: examples/mplot3d/pathpatch3d.py
+6-6Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.