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

Skip to content

Commit e8a54b4

Browse files
authored
Merge pull request #10478 from tropfcode/patch-3
Separate plots using #### in xkcd.py
2 parents 40ac5df + 6c9825e commit e8a54b4

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)