From 6806574228559786e46acd3e26a05c5d884144b1 Mon Sep 17 00:00:00 2001 From: Eric Ma Date: Mon, 13 Jul 2015 20:40:05 -0400 Subject: [PATCH] Mods to documentation. --- examples/pylab_examples/transoffset.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/pylab_examples/transoffset.py b/examples/pylab_examples/transoffset.py index 6b21a27c796c..afcb4306e48c 100644 --- a/examples/pylab_examples/transoffset.py +++ b/examples/pylab_examples/transoffset.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - ''' This illustrates the use of transforms.offset_copy to make a transform that positions a drawing element such as @@ -10,7 +8,7 @@ Every Artist--the mpl class from which classes such as Text and Line are derived--has a transform that can be set when the Artist is created, such as by the corresponding -pylab command. By default this is usually the Axes.transData +pyplot command. By default this is usually the Axes.transData transform, going from data units to screen dots. We can use the offset_copy function to make a modified copy of this transform, where the modification consists of an