Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 5d16868 + 2273b6b commit 6db4e8dCopy full SHA for 6db4e8d
1 file changed
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