Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e5bee9

Browse files
committed
addressing comments
1 parent 166a431 commit 7e5bee9

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

doc/api/pyplot_summary.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ The Object-Oriented API
2121

2222
Most of these functions also exist as methods in the
2323
:class:`matplotlib.axes.Axes` class. You can use them with the
24-
so-called "Object Oriented" approach to Matplotlib.
24+
"Object Oriented" approach to Matplotlib.
2525

2626
While it is easy to quickly generate plots with the
2727
:mod:`matplotlib.pyplot` module,
2828
we recommend using the object-oriented approach for more control
29-
and customization of your plots. For some examples of the OO approach
30-
to Matplotlib, see the :ref:`api_examples` examples.
29+
and customization of your plots. See the methods in the
30+
:meth:`matplotlib.axes.Axes` class for many of the same plotting functions.
31+
For examples of the OO approach to Matplotlib, see the
32+
:ref:`API Examples<api_examples>`.
3133

3234
Colors in Matplotlib
3335
--------------------

examples/lines_bars_and_markers/categorical_variables.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
How to use categorical variables in matplotlib.
77
88
Many times you want to create a plot that uses categorical variables
9-
in Matplotlib. For example, your data may naturally fall into
10-
several "bins" and you're interested in summarizing the data per
11-
bin. Matplotlib allows you to pass categorical variables directly to
12-
many plotting functions.
9+
in Matplotlib. Matplotlib allows you to pass categorical variables directly to
10+
many plotting functions, which we demonstrate below.
1311
"""
1412
import matplotlib.pyplot as plt
1513

tutorials/01_introductory/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
# Plotting with categorical variables
125125
# ===================================
126126
#
127-
# It is also possible to create a plot using categorical variables
127+
# It is also possible to create a plot using categorical variables.
128128
# Matplotlib allows you to pass categorical variables directly to
129129
# many plotting functions. For example:
130130

tutorials/01_introductory/sample_plots.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Line Plot
1212
=========
1313
14-
Here's now to create a line plot with text labels using
14+
Here's how to create a line plot with text labels using
1515
:func:`~matplotlib.pyplot.plot`.
1616
1717
.. figure:: ../../gallery/pylab_examples/images/sphx_glr_simple_plot_001.png
@@ -57,7 +57,7 @@
5757
Path demo
5858
=========
5959
60-
You can add other paths in matplotlib using the
60+
You can add arbitrary paths in Matplotlib using the
6161
:mod:`matplotlib.path` module:
6262
6363
.. figure:: ../../gallery/shapes_and_collections/images/sphx_glr_path_patch_001.png
@@ -84,7 +84,7 @@
8484
Surface3d
8585
8686
Thanks to John Porter, Jonathon Taylor, Reinier Heeres, and Ben Root for
87-
the `mplot3d` toolkit. This toolkit is included with all standard matplotlib
87+
the `mplot3d` toolkit. This toolkit is included with all standard Matplotlib
8888
installs.
8989
9090
.. _screenshots_ellipse_demo:
@@ -115,7 +115,7 @@
115115
116116
In support of the
117117
`Phoenix <http://www.jpl.nasa.gov/news/phoenix/main.php>`_ mission to
118-
Mars (which used matplotlib to display ground tracking of spacecraft),
118+
Mars (which used Matplotlib to display ground tracking of spacecraft),
119119
Michael Droettboom built on work by Charlie Moad to provide an extremely
120120
accurate 8-spline approximation to elliptical arcs (see
121121
:class:`~matplotlib.patches.Arc`), which are insensitive to zoom level.
@@ -242,8 +242,8 @@
242242
Date demo
243243
=========
244244
245-
You can plot date data with major and minor ticks and custom tick formatters
246-
for both.
245+
You can plot timeseries data with major and minor ticks and custom
246+
tick formatters for both.
247247
248248
.. figure:: ../../gallery/api/images/sphx_glr_date_001.png
249249
:target: ../../gallery/api/date.html
@@ -313,7 +313,7 @@
313313
Mathtext_examples
314314
=================
315315
316-
Below is a sampling of the many TeX expressions now supported by matplotlib's
316+
Below is a sampling of the many TeX expressions now supported by Matplotlib's
317317
internal mathtext engine. The mathtext module provides TeX style mathematical
318318
expressions using `FreeType <https://www.freetype.org/>`_
319319
and the DejaVu, BaKoMa computer modern, or `STIX <http://www.stixfonts.org>`_
@@ -336,7 +336,7 @@
336336
Native TeX rendering
337337
====================
338338
339-
Although matplotlib's internal math rendering engine is quite
339+
Although Matplotlib's internal math rendering engine is quite
340340
powerful, sometimes you need TeX. Matplotlib supports external TeX
341341
rendering of strings with the *usetex* option.
342342
@@ -352,7 +352,7 @@
352352
EEG demo
353353
=========
354354
355-
You can embed matplotlib into pygtk, wx, Tk, or Qt applications.
355+
You can embed Matplotlib into pygtk, wx, Tk, or Qt applications.
356356
Here is a screenshot of an EEG viewer called `pbrain
357357
<https://github.com/nipy/pbrain>`__.
358358
@@ -361,7 +361,7 @@
361361
The lower axes uses :func:`~matplotlib.pyplot.specgram`
362362
to plot the spectrogram of one of the EEG channels.
363363
364-
For examples of how to embed matplotlib in different toolkits, see:
364+
For examples of how to embed Matplotlib in different toolkits, see:
365365
366366
* :ref:`sphx_glr_gallery_user_interfaces_embedding_in_gtk2_sgskip.py`
367367
* :ref:`sphx_glr_gallery_user_interfaces_embedding_in_wx2_sgskip.py`
@@ -372,7 +372,7 @@
372372
XKCD-style sketch plots
373373
=======================
374374
375-
matplotlib supports plotting in the style of `xkcd
375+
Matplotlib supports plotting in the style of `xkcd
376376
<http://www.xkcd.com/>`.
377377
378378
.. figure:: ../../gallery/showcase/images/sphx_glr_xkcd_001.png

0 commit comments

Comments
 (0)