File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2119,14 +2119,15 @@ def onmove(self, event):
21192119 self .lineh .set_visible (self .visible and self .horizOn )
21202120 if not (self .visible and (self .vertOn or self .horizOn )):
21212121 return
2122- # Redraw.
2122+ # Redraw.
21232123 if self .useblit :
21242124 background = self ._load_blit_background ()
21252125 if background is not None :
21262126 self .canvas .restore_region (background )
2127-
2127+
21282128 # --- UPDATED FIX STARTS HERE ---
2129- # If there are other axes overlapping with the cursor's area, redraw them completely
2129+ # If there are other axes overlapping with the cursor's area,
2130+ # redraw them completely.
21302131 for ax_ in self .ax .get_figure (root = True ).get_axes ():
21312132 if ax_ is not self .ax and self .ax .bbox .overlaps (ax_ .bbox ):
21322133 self .ax .draw_artist (ax_ )
You can’t perform that action at this time.
0 commit comments