Skip to content

Commit 701042d

Browse files
committed
remove calls to set_visible(False)
1 parent 7d5c8a5 commit 701042d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/matplotlib/widgets.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1975,8 +1975,6 @@ def clear(self, event):
19751975
return
19761976
if self.useblit:
19771977
self.background = self.canvas.copy_from_bbox(self.ax.bbox)
1978-
self.linev.set_visible(False)
1979-
self.lineh.set_visible(False)
19801978

19811979
def onmove(self, event):
19821980
"""Internal event handler to draw the cursor when the mouse moves."""
@@ -2113,8 +2111,6 @@ def clear(self, event):
21132111
if self.useblit:
21142112
for canvas, info in self._canvas_infos.items():
21152113
info["background"] = canvas.copy_from_bbox(canvas.figure.bbox)
2116-
for line in self.vlines + self.hlines:
2117-
line.set_visible(False)
21182114

21192115
def onmove(self, event):
21202116
if (self.ignore(event)

0 commit comments

Comments
 (0)