8000 DOC: fix more typos in stats docstrings · matplotlib/matplotlib@a47556a · GitHub
[go: up one dir, main page]

Skip to content

Commit a47556a

Browse files
committed
DOC: fix more typos in stats docstrings
1 parent 6fc4883 commit a47556a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

examples/statistics/boxplot_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
=========================================
55
66
This example demonstrates how to use the various kwargs
7-
to fully customize box plots. The first figure demostrates
7+
to fully customize box plots. The first figure demonstrates
88
how to remove and add individual components (note that the
99
mean is the only value not shown by default). The second
10-
figure demonstrates how the styles of the artists of can
10+
figure demonstrates how the styles of the artists can
1111
be customized. It also demonstrates how to set the limit
1212
of the whiskers to specific percentiles (lower right axes)
1313
"""

examples/statistics/bxp_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
===================================
55
66
This example demonstrates how to pass pre-computed box plot
7-
statistics to the box plot drawer. The first figure demostrates
7+
statistics to the box plot drawer. The first figure demonstrates
88
how to remove and add individual components (note that the
99
mean is the only value not shown by default). The second
1010
figure demonstrates how the styles of the artists can

examples/statistics/customized_violin_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
The first plot shows the default style by providing only
88
the data. The second plot first limits what matplotlib draws
99
with additional kwargs. Then a simplified representation of
10-
a box plot in drawn on top. Lastly, the styles of the artists
10+
a box plot is drawn on top. Lastly, the styles of the artists
1111
of the violins are modified.
1212
"""
1313

@@ -91,7 +91,7 @@ def adjacent_values(vals):
9191
for ax in [ax1, ax2]:
9292
ax.get_xaxis().set_tick_params(direction='out')
9393
ax.xaxis.set_ticks_position('bottom')
94-
ax.set_xticks([x for x in np.arange(1, len(lab) + 1)])
94+
ax.set_xticks(np.arange(1, len(lab) + 1))
9595
ax.set_xticklabels(lab)
9696
ax.set_xlim(0.25, len(lab) + 0.75)
9797
ax.set_xlabel('Sample name')

examples/statistics/histogram_demo_cumulative.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
A couple of other options to the ``hist`` function are demonstrated.
1212
Namely, we use the ``normed`` parameter to normalize the histogram and
1313
a couple of different options to the `cumulative` parameter. Normalizing
14-
a histogram means that the heights bins are scaled such that
14+
a histogram means that the bin heights are scaled such that
1515
the total area is 1. Since we're showing a normalized and
1616
cumulative histogram, the max value at the end of the series is 1.
1717
The ``normed`` parameter takes a boolean value.

0 commit comments

Comments
 (0)
0