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

Skip to content

Commit 8cd9a3b

Browse files
authored
Fix splitting issue from ### in with statement
1 parent 659a417 commit 8cd9a3b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/showcase/xkcd.py

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

11-
with plt.xkcd():
12-
13-
###############################################################################
11+
###############################################################################
12+
13+
with plt.xkcd():
1414
# Based on "Stove Ownership" from XKCD by Randall Monroe
1515
# http://xkcd.com/418/
1616

@@ -38,7 +38,9 @@
3838
'"Stove Ownership" from xkcd by Randall Monroe',
3939
ha='center')
4040

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

0 commit comments

Comments
 (0)