Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a780e6

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎examples/pylab_examples/centered_ticklabels.py

Copy file name to clipboardExpand all lines: examples/pylab_examples/centered_ticklabels.py
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.