File tree 1 file changed +1
-12
lines changed 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -3012,20 +3012,9 @@ def _capture_events(ax):
3012
3012
for zorder in sorted (grps , reverse = True ):
3013
3013
for ax in grps [zorder ]:
3014
3014
pan_axes .append (ax )
3015
-
3016
- # NOTE: shared axes are automatically triggered, but twin-axes
3017
- # and twin-axes of shared axes must be explicitly triggered!
3015
+ # NOTE: shared axes are automatically triggered, but twin-axes not!
3018
3016
pan_axes .extend (ax ._twinned_axes .get_siblings (ax ))
3019
3017
3020
- shared_axes = itertools .chain (
3021
- * (ax ._shared_axes [name ].get_siblings (ax )
3022
- for name in ax ._axis_names ))
3023
-
3024
- for ax_s in shared_axes :
3025
- ax_t = ax_s ._twinned_axes .get_siblings (ax_s )
3026
- # only trigger twinned-axes not the shared axes!
3027
- pan_axes .extend ((i for i in ax_t if i is not ax_s ))
3028
-
3029
3018
if _capture_events (ax ):
3030
3019
break # break if we hit a capturing axes
3031
3020
else :
You can’t perform that action at this time.
0 commit comments