Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9fad924

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎doc/users/recipes.rst

Copy file name to clipboardExpand all lines: doc/users/recipes.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.