Skip to content

Commit 3d74ff4

Browse 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

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/backends/backend_tkagg.py

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