Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b28ad0e

Browse filesBrowse files
committed
add api_changes
1 parent f494913 commit b28ad0e
Copy full SHA for b28ad0e

File tree

1 file changed

+25
-0
lines changed
Filter options

1 file changed

+25
-0
lines changed

‎doc/api/api_changes/2017-11-13-TH.rst

Copy file name to clipboard
+25Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.