Skip to content

Fixes typos in Artist tutorial #8167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions doc/users/artists.rst
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Object containers


Now that we know how to inspect and set the properties of a given
object we want to configure, we need to now how to get at that object.
object we want to configure, we need to know how to get at that object.
As mentioned in the introduction, there are two kinds of objects:
primitives and containers. The primitives are usually the things you
want to configure (the font of a :class:`~matplotlib.text.Text`
Expand Down Expand Up @@ -497,7 +497,7 @@ containers will be detailed below, but note that the ``Axes`` contains
many helper methods which forward calls on to the
:class:`~matplotlib.axis.Axis` instances so you often do not need to
work with them directly unless you want to. For example, you can set
the font size of the ``XAxis`` ticklabels using the ``Axes`` helper
the font color of the ``XAxis`` ticklabels using the ``Axes`` helper
method::

for label in ax.get_xticklabels():
Expand Down Expand Up @@ -544,8 +544,8 @@ ticklabels. Because the ticks are dynamically created as needed (e.g., when
panning and zooming), you should access the lists of major and minor ticks
through their accessor methods :meth:`~matplotlib.axis.Axis.get_major_ticks`
and :meth:`~matplotlib.axis.Axis.get_minor_ticks`. Although the ticks contain
all the primitives and will be covered below, the ``Axis`` methods contain
accessor methods to return the tick lines, tick labels, tick locations etc.:
all the primitives and will be covered below, ``Axis`` instances have accessor
methods that return the tick lines, tick labels, tick locations etc.:

.. sourcecode:: ipython

Expand Down Expand Up @@ -625,11 +625,11 @@ tick2line Line2D instance
gridline Line2D instance
label1 Text instance
label2 Text instance
gridOn boolean which determines whether to draw the tickline
gridOn boolean which determines whether to draw the gridline
tick1On boolean which determines whether to draw the 1st tickline
tick2On boolean which determines whether to draw the 2nd tickline
label1On boolean which determines whether to draw tick label
label2On boolean which determines whether to draw tick label
label1On boolean which determines whether to draw the 1st tick label
label2On boolean which determines whether to draw the 2nd tick label
============== ==========================================================

Here is an example which sets the formatter for the right side ticks with
Expand Down