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 c9e5ccc

Browse filesBrowse files
committed
DOC: move non-finite axis limits whats new to api changes
1 parent 48e2280 commit c9e5ccc
Copy full SHA for c9e5ccc

File tree

Expand file treeCollapse file tree

2 files changed

+9
-7
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+9
-7
lines changed

‎doc/api/api_changes.rst

Copy file name to clipboardExpand all lines: doc/api/api_changes.rst
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,15 @@ The `matplotlib.lines` module no longer imports the `pts_to_prestep`,
362362
`pts_to_midstep` and `pts_to_poststep` functions from the `matplotlib.cbook`
363363
module.
364364

365+
Invalid (Non-finite) Axis Limit Error
366+
-------------------------------------
367+
368+
When using :func:`~matplotlib.axes.Axes.set_xlim` and
369+
:func:`~matplotlib.axes.Axes.set_ylim`, passing non-finite values now
370+
results in a ``ValueError``. The previous behavior resulted in the
371+
limits being erroneously reset to ``(-0.001, 0.001)``.
372+
373+
365374

366375
API Changes in 2.0.1
367376
====================

‎doc/users/whats_new.rst

Copy file name to clipboardExpand all lines: doc/users/whats_new.rst
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,6 @@ Pending
300300

301301

302302

303-
Invalid (Non-finite) Axis Limit Error
304-
-------------------------------------
305-
306-
When using :func:`~matplotlib.axes.Axes.set_xlim` and
307-
:func:`~matplotlib.axes.Axes.set_ylim`, passing non-finite values now results
308-
in a ``ValueError``. The previous behavior resulted in the limits being
309-
erroneously reset to ``(-0.001, 0.001)``.
310303

311304

312305
Metadata savefig keyword argument

0 commit comments

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