|
| 1 | +Internal handling of axis ticks optimized |
| 2 | +----------------------------------------- |
| 3 | + |
| 4 | +No officially documented parts of the API have changed. However, you may have |
| 5 | +implicitly relied on a certain behavior. |
| 6 | + |
| 7 | +`Axis.majorTicks` and `Axis.minorTicks` are deprecated |
| 8 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 9 | + |
| 10 | +The undocumented attributes `majorTicks` and `minorTicks` of |
| 11 | +:class:`matplotlib.axis.Axis` are now explicitly considered private and may be |
| 12 | +removed in the future. Please uses:meth:`matplotlib.axis.Axis.get_major_ticks` |
| 13 | +and:meth:`matplotlib.axis.Axis.get_minor_ticks` only. |
| 14 | + |
| 15 | +Axis tick lists are not persistent anymore |
| 16 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 17 | + |
| 18 | +:meth:`matplotlib.axis.Axis.get_major_ticks` and |
| 19 | +:meth:`matplotlib.axis.Axis.get_minor_ticks` have returned a list of ticks |
| 20 | +that was valid for the whole lifetime of the axis. Though this behavior was |
| 21 | +never guaranteed, users might have stored a reference to this list and |
| 22 | +expect it to be updated. |
| 23 | + |
| 24 | +You should not permanently store a reference to the ticks, instead always |
| 25 | +fetch an up-to-date list using the above methods when needed. |