8000 partial backport of d82de883d4c · matplotlib/matplotlib@e56eec1 · GitHub
[go: up one dir, main page]

Skip to content

Commit e56eec1

Browse files
committed
partial backport of d82de88
1 parent f96499c commit e56eec1

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)
0