Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1a780e6

Browse files
authored
Merge pull request #7069 from WeatherGod/quick_ints
DOC: partial backport of d82de88
2 parents 26382a7 + e56eec1 commit 1a780e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/centered_ticklabels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@
4545
tick.tick2line.set_markersize(0)
4646
tick.label1.set_horizontalalignment('center')
4747

48-
imid = len(r)/2
48+
imid = len(r)//2
4949
ax.set_xlabel(str(r.date[imid].year))
5050
plt.show()

0 commit comments

Comments
 (0)