We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe1043e commit d75d748Copy full SHA for d75d748
1 file changed
galleries/examples/subplots_axes_and_figures/axhspan_demo.py
@@ -17,7 +17,7 @@
17
s = 2.9 * np.convolve(np.random.randn(500), np.ones(30) / 30, mode='valid')
18
ax1.plot(s)
19
ax1.axhspan(-1, 1, alpha=0.1)
20
-ax1.set(ylim = (-1.5, 1.5), title = "axhspan")
+ax1.set(ylim=(-1.5, 1.5), title="axhspan")
21
22
23
mu = 8
@@ -29,7 +29,7 @@
29
ax2.axvspan(mu+sigma, mu+2*sigma, color='0.95')
30
ax2.axvline(mu, color='darkgrey', linestyle='--')
31
ax2.plot(x, y)
32
-ax2.set(title = "axvspan")
+ax2.set(title="axvspan")
33
34
plt.show()
35
0 commit comments