Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c9d229 + f716990 commit 18e2544Copy full SHA for 18e2544
1 file changed
examples/pyplots/axline.py
@@ -20,7 +20,7 @@
20
plt.axhline(y=0.5, color="black", linestyle=":")
21
plt.axhline(y=1.0, color="black", linestyle="--")
22
plt.axvline(color="grey")
23
-plt.axline((0, 0.5), (2, 1), color="black", linestyle=(0, (5, 5)))
+plt.axline((0, 0.5), slope=0.25, color="black", linestyle=(0, (5, 5)))
24
plt.plot(t, sig, linewidth=2, label=r"$\sigma(t) = \frac{1}{1 + e^{-t}}$")
25
plt.xlim(-10, 10)
26
plt.xlabel("t")
0 commit comments