Repository navigation
Deprecate Locator.autoscale. - #13463
Conversation
8236855 to
c8ec566
Compare
|
Both
Actually, I have no clear idea what |
|
It expands the axes limits when using the old "round numbers" mode (still rcparams-switchable, where the axis would be expanded up to the closest surrounding ticks (so e.g. 1.1..4.1 would get expanded to 0..5) (which is the whole reason the locators have to get involved in the autoscaling) (nowadays the default is to just apply constant margins, of course). Certainly it could be better documented, though that's not the object of this PR. |
| def _get_interval(self): | ||
| return self.rule._rrule._interval | ||
|
|
||
| @cbook.deprecated("3.1") |
There was a problem hiding this comment.
Please update all deprecations to 3.2. You'll get an approval as a reward. 😉
Note that this likely indicates that the dates Locators need new implementations of view_limits, as they appear to never have been updated to use the "new" (post-2008) API.
c8ec566 to
97b9c9a
Compare
Note that this likely indicates that the dates Locators need new
implementations of view_limits, as they appear to never have been
updated to use the "new" (post-2008) API.
per #13292 (comment).
PR Summary
PR Checklist