8000 Make style change examples consistent · matplotlib/matplotlib@2d7b735 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d7b735

Browse files
dstansbynewville
authored andnewville
committed
Make style change examples consistent
1 parent c96d50e commit 2d7b735

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

doc/users/dflt_style_changes.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,9 @@ cycle.
495495
return [ax.fill_between(th, np.sin((j / N) * np.pi + th), alpha=.5, **extra_kwargs)
496496
for j in range(N)]
497497
498-
demo(ax1, {}, '2.x')
499-
demo(ax2, {'facecolor': 'C0'}, 'non-cycled')
498+
demo(ax1, {'facecolor': 'C0'}, 'classic')
499+
demo(ax2, {}, '2.x')
500+
500501

501502
If the facecolor is set via the ``facecolors`` or ``color`` keyword argument,
502503
then the color is not cycled.
@@ -588,14 +589,13 @@ The default value of the ``align`` kwarg for both
588589
**bar_kwargs)
589590
590591

591-
ax1.set_title('2.0')
592-
593-
ax2.set_title("classic alignment")
592+
ax1.set_title("classic")
593+
ax2.set_title('2.0')
594594

595-
demo(ax1.bar, {})
596-
demo(ax2.bar, {'align': 'edge'})
597< 6648 /td>-
demo(ax3.barh, {})
598-
demo(ax4.barh, {'align': 'edge'})
595+
demo(ax1.bar, {'align': 'edge'})
596+
demo(ax2.bar, {})
597+
demo(ax3.barh, {'align': 'edge'})
598+
demo(ax4.barh, {})
599599

600600

601601
To restore the previous behavior explicitly pass the keyword argument

0 commit comments

Comments
 (0)
0