Commit f127f352 authored by Gabrecht, Marco's avatar Gabrecht, Marco
Browse files

Tast4

parent 8417a7f6
Pipeline #37665 passed with stages
in 1 minute and 10 seconds
......@@ -43,8 +43,8 @@ def api_plot():
m, b = np.polyfit(xs, ys, 1)
fig = plt.figure()
plt.scatter(xs, ys, color="red")
plt.plot(xs, m * xs + b, color="blue")
plt.scatter(xs, ys, color="green")
plt.plot(xs, m * xs + b, color="yellow")
plt.xlabel("Date of Publication")
plt.ylabel("Length of First Sentence in Characters")
plt.savefig("top-10.svg")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment