Skip to content

Commit 9fad924

Browse files
NelleVtacaswell
authored andcommitted
Merge pull request #7110 from rougier/fix_7017
[DOC] Apply comments from issue #7017
1 parent 873d393 commit 9fad924

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/users/recipes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ code. e.g.
5353

5454
Fernando Perez has provided a nice top level method to create in
5555
:func:`~matplotlib.pyplots.subplots` (note the "s" at the end)
56-
everything at once, and turn off x and y sharing for the whole bunch.
56+
everything at once, and turn on x and y sharing for the whole bunch.
5757
You can either unpack the axes individually::
5858

5959
# new style method 1; unpack the axes
@@ -255,7 +255,7 @@ alpha channel is useful, not just aesthetic.
255255
# plot it!
256256
fig, ax = plt.subplots(1)
257257
ax.plot(t, mu1, lw=2, label='mean population 1', color='blue')
258-
ax.plot(t, mu1, lw=2, label='mean population 2', color='yellow')
258+
ax.plot(t, mu2, lw=2, label='mean population 2', color='yellow')
259259
ax.fill_between(t, mu1+sigma1, mu1-sigma1, facecolor='blue', alpha=0.5)
260260
ax.fill_between(t, mu2+sigma2, mu2-sigma2, facecolor='yellow', alpha=0.5)
261261
ax.set_title('random walkers empirical $\mu$ and $\pm \sigma$ interval')

0 commit comments

Comments
 (0)