Skip to content

Commit edb1526

Browse files
committed
Credit basis for plots
1 parent c288df2 commit edb1526

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/showcase/xkcd.py

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
plt.xkcd()
55

6+
# Based on "Stove Ownership" from XKCD by Randall Monroe
7+
# http://xkcd.com/418/
8+
69
fig = plt.figure()
710
ax = fig.add_subplot(1, 1, 1)
811
ax.spines['right'].set_color('none')
@@ -23,6 +26,9 @@
2326
plt.xlabel('time')
2427
plt.ylabel('my overall health')
2528

29+
# Based on "The Data So Far" from XKCD by Randall Monroe
30+
# http://xkcd.com/373/
31+
2632
fig = plt.figure()
2733
ax = fig.add_subplot(1, 1, 1)
2834
ax.bar([-0.125, 1.0-0.125], [0, 100], 0.25)

0 commit comments

Comments
 (0)