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.
1 parent f96499c commit e56eec1Copy full SHA for e56eec1
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