From 1e8915a1600869c824bd49eebcd280f79c30bfde Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Wed, 6 Jan 2021 07:58:24 +0100 Subject: [PATCH] Fix markup for mplot3d example. --- examples/mplot3d/pathpatch3d.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/mplot3d/pathpatch3d.py b/examples/mplot3d/pathpatch3d.py index e300158108a5..eff84b1eaf91 100644 --- a/examples/mplot3d/pathpatch3d.py +++ b/examples/mplot3d/pathpatch3d.py @@ -3,7 +3,7 @@ Draw flat objects in 3D plot ============================ -Demonstrate using pathpatch_2d_to_3d to 'draw' shapes and text on a 3D plot. +Demonstrate using `.pathpatch_2d_to_3d` to 'draw' shapes and text on a 3D plot. """ import numpy as np @@ -16,11 +16,11 @@ def text3d(ax, xyz, s, zdir="z", size=None, angle=0, usetex=False, **kwargs): """ - Plots the string 's' on the axes 'ax', with position 'xyz', size 'size', - and rotation angle 'angle'. 'zdir' gives the axis which is to be treated - as the third dimension. usetex is a boolean indicating whether the string - should be interpreted as latex or not. Any additional keyword arguments - are passed on to transform_path. + Plots the string *s* on the axes *ax*, with position *xyz*, size *size*, + and rotation angle *angle*. *zdir* gives the axis which is to be treated as + the third dimension. *usetex* is a boolean indicating whether the string + should be run through a LaTeX subprocess or not. Any additional keyword + arguments are forwarded to `.transform_path`. Note: zdir affects the interpretation of xyz. """