Test Topic #30
fumitoh
started this conversation in
Team Posts
Replies: 4 comments
-
|
Test reply print((lambda x: x-1)(1)) |
Beta Was this translation helpful? Give feedback.
0 replies
-
import matplotlib.pyplot as plt
import numpy as np
plt.xkcd()
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
ax.spines['right'].set_color('none')
ax.spines['top'].set_color('none')
plt.xticks([])
plt.yticks([])
ax.set_ylim([-1, 10.5])
data = np.zeros(100)
data[70:80] += np.arange(10)
data[80:] = 10
plt.annotate(
'THE DAY I REALIZED\nI COULD DO MY PLOTS \nXKCD STYLE',
xy=(70, 0), arrowprops=dict(arrowstyle='->'), xytext=(15, 5))
plt.plot(data)
plt.xlabel('time')
plt.ylabel('how much I liked to look at my plots') |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Love both XKCD (and I think |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Sample post
Common room is for all community members.
Beta Was this translation helpful? Give feedback.
All reactions