Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 093c819

Browse files
committed
DOC: Ensure 0.98.4 what's new example is consistent.
1 parent 800d4ad commit 093c819

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/pyplots/whats_new_98_4_fancy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
def make_boxstyles(ax):
99
styles = mpatch.BoxStyle.get_styles()
1010

11-
for i, (stylename, styleclass) in enumerate(styles.items()):
11+
for i, (stylename, styleclass) in enumerate(sorted(styles.items())):
1212
ax.text(0.5, (float(len(styles)) - 0.5 - i)/len(styles), stylename,
1313
ha="center",
1414
size=fontsize,

0 commit comments

Comments
 (0)