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 3d74ff4

Browse filesBrowse files
committed
MNT: Remove unused round function in tkagg backend.
There's absolutely no reason to have our own implementation of this.
1 parent 984e9b0 commit 3d74ff4
Copy full SHA for 3d74ff4

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed

‎lib/matplotlib/backends/backend_tkagg.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_tkagg.py
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@
5050
}
5151

5252

53-
def round(x):
54-
return int(math.floor(x+0.5))
55-
5653
def raise_msg_to_str(msg):
5754
"""msg is a return arg from a raise. Join with new lines"""
5855
if not is_string_like(msg):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.