Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Typo in "Annotation" docstring. #1748

Merged
merged 1 commit into from

3 participants

@pbugnion

The "axes fraction" description in the table of values for 'xycoords'
and 'textcoords' had a typo, suggesting that (0,1) represents the lower
left corner of the figure when it is actually (0,0).

I also removed what looked like an extraneous typo in the description of
the "figure fraction" property.

The corresponding table in the users guide was similarly updated.

@pbugnion pbugnion Typo in "Annotation" docstring.
The "axes fraction" description in the table of values for 'xycoords'
and 'textcoords' had a typo, suggesting that (0,1) represents the lower
left corner of the figure when it is actually (0,0).

I also removed what looked like an extraneous typo in the description of
the "figure fraction" property.

The corresponding table in the users guide was similarly updated.
b4ee47e
@mdboom
Owner

:+1:

@efiring efiring merged commit 84901ec into matplotlib:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 14, 2013
  1. @pbugnion

    Typo in "Annotation" docstring.

    pbugnion authored
    The "axes fraction" description in the table of values for 'xycoords'
    and 'textcoords' had a typo, suggesting that (0,1) represents the lower
    left corner of the figure when it is actually (0,0).
    
    I also removed what looked like an extraneous typo in the description of
    the "figure fraction" property.
    
    The corresponding table in the users guide was similarly updated.
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +2 −2 doc/users/annotations_intro.rst
  2. +2 −2 lib/matplotlib/text.py
View
4 doc/users/annotations_intro.rst
@@ -30,10 +30,10 @@ argument coordinate system
==================== ====================================================
'figure points' points from the lower left corner of the figure
'figure pixels' pixels from the lower left corner of the figure
- 'figure fraction' 0,0 is lower left of figure and 1,1 is upper, right
+ 'figure fraction' 0,0 is lower left of figure and 1,1 is upper right
'axes points' points from lower left corner of axes
'axes pixels' pixels from lower left corner of axes
- 'axes fraction' 0,1 is lower left of axes and 1,1 is upper right
+ 'axes fraction' 0,0 is lower left of axes and 1,1 is upper right
'data' use the axes data coordinate system
==================== ====================================================
View
4 lib/matplotlib/text.py
@@ -1777,10 +1777,10 @@ def __init__(self, s, xy,
================= ===================================================
'figure points' points from the lower left corner of the figure
'figure pixels' pixels from the lower left corner of the figure
- 'figure fraction' 0,0 is lower left of figure and 1,1 is upper, right
+ 'figure fraction' 0,0 is lower left of figure and 1,1 is upper right
'axes points' points from lower left corner of axes
'axes pixels' pixels from lower left corner of axes
- 'axes fraction' 0,1 is lower left of axes and 1,1 is upper right
+ 'axes fraction' 0,0 is lower left of axes and 1,1 is upper right
'data' use the coordinate system of the object being
annotated (default)
'offset points' Specify an offset (in points) from the *xy* value
Something went wrong with that request. Please try again.