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

Skip to content

Commit 05ee07c

Browse files
dstansbyMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR #9566: Update API examples
1 parent 586af2e commit 05ee07c

13 files changed

+14
-15
lines changed

examples/api/colorbar_basics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Colorbar
44
========
55
6-
This example shows how to use colorbar by specifying the mappable object (here
6+
Use colorbar by specifying the mappable object (here
77
the imshow returned object) and the axes to attach the colorbar to.
88
"""
99

examples/api/custom_projection_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Custom projection
44
=================
55
6-
This example showcases the Hammer projection by alleviating many features of
6+
Showcase Hammer projection by alleviating many features of
77
matplotlib.
88
"""
99

examples/api/custom_scale_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Custom scale
44
============
55
6-
This example showcases how to create a custom scale, by implementing the
6+
Create a custom scale, by implementing the
77
scaling use for latitude data in a Mercator Projection.
88
"""
99

examples/api/donut.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Mmh Donuts!!!
44
=============
55
6-
This example draws donuts (miam!) using Path and Patches.
6+
Draw donuts (miam!) using Path and Patches.
77
"""
88

99
import numpy as np

examples/api/engineering_formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Labeling ticks using engineering notation
44
=========================================
55
6-
Demo to show use of the engineering Formatter.
6+
Use of the engineering Formatter.
77
'''
88

99
import matplotlib.pyplot as plt

examples/api/filled_step.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
Hatch-filled histograms
44
=========================
55
6-
This example showcases the hatching capabilities of matplotlib by plotting
7-
various histograms.
6+
Hatching capabilities for plotting histograms.
87
"""
98

109
import itertools

examples/api/histogram_path.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Building histograms using Rectangles and PolyCollections
44
========================================================
55
6-
This example shows how to use a path patch to draw a bunch of
7-
rectangles. The technique of using lots of Rectangle instances, or
6+
Using a path patch to draw rectangles.
7+
The technique of using lots of Rectangle instances, or
88
the faster method of using PolyCollections, were implemented before we
99
had proper paths with moveto/lineto, closepoly etc in mpl. Now that
1010
we have them, we can draw collections of regularly shaped objects with

examples/api/image_zcoord.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Modifying the coordinate formatter
44
==================================
55
6-
Show how to modify the coordinate formatter to report the image "z"
6+
Modify the coordinate formatter to report the image "z"
77
value of the nearest pixel given x and y
88
"""
99
import numpy as np

examples/api/joinstyle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Join styles
44
===========
55
6-
Illustrate the three different join styles
6+
Illustrate the three different join styles.
77
"""
88

99
import numpy as np

examples/api/legend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Legend using pre-defined labels
44
===============================
55
6-
Notice how the legend labels are defined with the plots!
6+
Defining legend labels with plots.
77
"""
88

99

examples/api/line_with_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Artist within an artist
44
=======================
55
6-
Show how to override basic methods so an artist can contain another
6+
Override basic methods so an artist can contain another
77
artist. In this case, the line contains a Text instance to label it.
88
"""
99
import numpy as np

examples/api/mathtext_asarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
A mathtext image as numpy array
44
===============================
55
6-
This example shows how to make images from LaTeX strings.
6+
Make images from LaTeX strings.
77
"""
88

99
import matplotlib.mathtext as mathtext

examples/api/power_norm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Exploring normalizations
44
========================
55
6-
Let's explore various normalization on a multivariate normal distribution.
6+
Various normalization on a multivariate normal distribution.
77
88
"""
99

0 commit comments

Comments
 (0)