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

Skip to content

Commit cfc7039

Browse files
author
root
committed
Even more linter fixes
1 parent bf83d3e commit cfc7039

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3048,9 +3048,9 @@ def mouse_move(self, event):
30483048
distance = ((event.xdata - x_data[i])**2
30493049
+ (event.ydata - y_data[i])**2)**0.5
30503050
if distance < 0.05:
3051-
(self.set_hover_message("Data Label: "
3051+
(self.set_hover_message("Data Label: "
30523052
+ hover[i] +
3053-
" Original coords: "
3053+
" Original coords: "
30543054
))
30553055
else:
30563056
self.set_hover_message(self._mouse_event_to_message(event))

lib/matplotlib/tests/test_toolkit.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ def user_defined_function(event):
2323
ax.plot(rand(100), 'o', hover=user_defined_function)
2424
plt.show()
2525

26-
27-
28-
###############################################################################
29-
30-
# Alternative test for testing out string literals as tooltips
26+
# Alternative test for testing out string literals as tooltips:
3127

3228
# fig, ax = plt.subplots()
3329
# plt.ylabel('some numbers')

0 commit comments

Comments
 (0)