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

Skip to content

Commit 8a7a07d

Browse files
authored
Merge pull request #10512 from matplotlib/auto-backport-of-pr-10478
Backport PR #10478 on branch v2.2.x
2 parents 70ba990 + f701967 commit 8a7a07d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/showcase/xkcd.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
import matplotlib.pyplot as plt
99
import numpy as np
1010

11+
###############################################################################
12+
1113
with plt.xkcd():
1214
# Based on "Stove Ownership" from XKCD by Randall Monroe
1315
# http://xkcd.com/418/
@@ -36,6 +38,9 @@
3638
'"Stove Ownership" from xkcd by Randall Monroe',
3739
ha='center')
3840

41+
###############################################################################
42+
43+
with plt.xkcd():
3944
# Based on "The Data So Far" from XKCD by Randall Monroe
4045
# http://xkcd.com/373/
4146

0 commit comments

Comments
 (0)