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 26382a7 + e56eec1 commit 1a780e6Copy full SHA for 1a780e6
1 file changed
examples/pylab_examples/centered_ticklabels.py
@@ -45,6 +45,6 @@
45
tick.tick2line.set_markersize(0)
46
tick.label1.set_horizontalalignment('center')
47
48
-imid = len(r)/2
+imid = len(r)//2
49
ax.set_xlabel(str(r.date[imid].year))
50
plt.show()
0 commit comments