Skip to content

Commit b8e69d4

Browse files
committed
DOC FIX reviewer's comments
1 parent 741b109 commit b8e69d4

File tree

10 files changed

+29
-18
lines changed

10 files changed

+29
-18
lines changed

examples/axisartist/demo_axisline_style.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
================
3-
Axis Line Styles
3+
Axis line styles
44
================
55
66
This example shows some configurations for axis style.
@@ -18,12 +18,12 @@
1818
for direction in ["xzero", "yzero"]:
1919
# adds arrows at the ends of each axis
2020
ax.axis[direction].set_axisline_style("-|>")
21-
21+
2222
# adds X and Y-axis from the origin
2323
ax.axis[direction].set_visible(True)
2424

2525
for direction in ["left", "right", "bottom", "top"]:
26-
# hides boarders
26+
# hides borders
2727
ax.axis[direction].set_visible(False)
2828

2929
x = np.linspace(-0.5, 1., 100)

examples/event_handling/pipong.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
"""
22
====
3-
PONG
3+
Pong
44
====
55
6-
A matplotlib based game of Pong illustrating one way to write interactive animation which are easily ported to multiple backends pipong.py was written by Paul Ivanov <http://pirsquared.org>
6+
A Matplotlib based game of Pong illustrating one way to write interactive
7+
animations which are easily ported to multiple backends pipong.py was written
8+
by <a href='http://pirsquared.org'>Paul Ivanov</a>.
79
"""
810
from __future__ import print_function
911

examples/event_handling/poly_editor.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
==========
55
66
This is an example to show how to build cross-GUI applications using
7-
matplotlib event handling to interact with objects on the canvas
8-
7+
matplotlib event handling to interact with objects on the canvas.
98
"""
109
import numpy as np
1110
from matplotlib.lines import Line2D

examples/event_handling/resample.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
Resampling Data
44
===============
55
6-
Downsampling lowers the sample rate or sample size of a signal. In this tutorial, the signal is downsampled when the plot is adjusted through dragging and zooming.
6+
Downsampling lowers the sample rate or sample size of a signal. In this
7+
tutorial, the signal is downsampled when the plot is adjusted through dragging
8+
and zooming.
79
"""
810

911
import numpy as np
@@ -14,7 +16,7 @@ class DataDisplayDownsampler(object):
1416
def __init__(self, xdata, ydata):
1517
self.origYData = ydata
1618
self.origXData = xdata
17-
self.ratio = 50
19+
self.ratio = 5
1820
self.delta = xdata[-1] - xdata[0]
1921

2022
def downsample(self, xstart, xend):

examples/mplot3d/mixed_subplots_demo.py

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
============================================
33
Demonstrate the mixing of 2d and 3d subplots
44
============================================
5+
56
This example shows a how to plot a 2D and 3D plot on the same figure.
67
"""
78

examples/pylab_examples/bar_stacked.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
Stacked Bar Graph
44
=================
55
6-
This is an example of creating a stacked bar plot with error bars using `plt.bar`.
7-
Note the parameters `yerr` used for error bars, and `bottom` to stack the women's bars on top of the men's bars.
6+
This is an example of creating a stacked bar plot with error bars using
7+
`plt.bar`. Note the parameters `yerr` used for error bars, and `bottom`
8+
to stack the women's bars on top of the men's bars.
89
"""
910

1011
# a stacked bar plot with errorbars

examples/pylab_examples/dolphin.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
"""
2-
=======
3-
Dophins
4-
=======
2+
========
3+
Dolphins
4+
========
55
6-
This example shows how to draw, and manipulate shapes given verticies and nodes using the patches, path and transforms classes.
6+
This example shows how to draw, and manipulate shapes given vertices and nodes
7+
using the `patches`, `path` and `transforms` classes.
78
"""
89

910
import matplotlib.cm as cm

examples/pylab_examples/fill_between_demo.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
Filling the area between lines
44
==============================
55
6-
This example shows how to use fill_between() to color between lines based on user-defined logic.
6+
This example shows how to use `fill_between` to color between lines based on
7+
user-defined logic.
78
"""
89

910
import matplotlib.pyplot as plt

examples/pylab_examples/geo_demo.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
======================
55
66
This shows 4 possible projections using subplot.
7-
Matplotlib also supports the <a href='http://matplotlib.org/basemap/'>Basemaps Toolkit</a> for geographic projections.
7+
Matplotlib also supports
8+
<a href='http://matplotlib.org/basemap/'>Basemaps Toolkit</a> and
9+
<a href='http://scitools.org.uk/cartopy/'>Cartopy</a>
10+
for geographic projections.
811
"""
912

1013
import matplotlib.pyplot as plt

examples/pylab_examples/mri_demo.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
MRI
44
===
55
6-
This example illustrates how to read an image (of an MRI) into a numpy array, and display it in greyscale using `ax.imshow`.
6+
This example illustrates how to read an image (of an MRI) into a NumPy array,
7+
and display it in greyscale using `imshow`.
78
89
"""
910

0 commit comments

Comments
 (0)