-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Remove apply_theta_transforms argument #30004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
return PolarAxes.PolarTransform( | ||
self._axis, self._use_rmin, | ||
apply_theta_transforms=self._apply_theta_transforms | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can shrink:
return PolarAxes.PolarTransform( | |
self._axis, self._use_rmin, | |
apply_theta_transforms=self._apply_theta_transforms | |
) | |
return PolarAxes.PolarTransform(self._axis, self._use_rmin) |
tr = PolarAxes.PolarTransform() | ||
trans = tr + self.axes.transData | ||
return trans |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe squash:
tr = PolarAxes.PolarTransform() | |
trans = tr + self.axes.transData | |
return trans | |
return PolarAxes.PolarTransform() + self.axes.transData |
tr = (Affine2D().scale(np.pi / 180., 1.) + | ||
PolarAxes.PolarTransform(apply_theta_transforms=False)) | ||
PolarAxes.PolarTransform()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tr = (Affine2D().scale(np.pi / 180., 1.) + | |
PolarAxes.PolarTransform(apply_theta_transforms=False)) | |
PolarAxes.PolarTransform()) | |
tr = Affine2D().scale(np.pi / 180, 1) + PolarAxes.PolarTransform() |
tr = (Affine2D().scale(np.pi / 180., 1.) + | ||
PolarAxes.PolarTransform(apply_theta_transforms=False)) | ||
PolarAxes.PolarTransform()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tr = (Affine2D().scale(np.pi / 180., 1.) + | |
PolarAxes.PolarTransform(apply_theta_transforms=False)) | |
PolarAxes.PolarTransform()) | |
tr = Affine2D().scale(np.pi / 180, 1) + PolarAxes.PolarTransform() |
This removes the deprecation that was introduced in #24834.