We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2403d74 commit 4050e5dCopy full SHA for 4050e5d
lib/matplotlib/widgets.py
@@ -3344,12 +3344,6 @@ def _rect_bbox(self):
3344
3345
def _set_aspect_ratio_correction(self):
3346
aspect_ratio = self.ax._get_aspect_ratio()
3347
- if not hasattr(self._selection_artist, '_aspect_ratio_correction'):
3348
- # Aspect ratio correction is not supported with deprecated
3349
- # drawtype='line'. Remove this block in matplotlib 3.7
3350
- self._aspect_ratio_correction = 1
3351
- return
3352
-
3353
self._selection_artist._aspect_ratio_correction = aspect_ratio
3354
if self._use_data_coordinates:
3355
self._aspect_ratio_correction = 1
0 commit comments