From 2c59d6d2d4c365354eb6676c04696a7403bf0415 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 18 Mar 2020 05:13:20 -0400 Subject: [PATCH] DOC: Fix references to SymmetricalLogScale. Not sure why it didn't fail to build on this branch. --- .../prev_api_changes/api_changes_3.2.0/behavior.rst | 11 +++++------ .../api_changes_3.2.0/deprecations.rst | 7 ++++--- doc/missing-references.json | 3 --- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst b/doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst index 82ad95a07eb1..0e525c1daad6 100644 --- a/doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst +++ b/doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst @@ -312,10 +312,9 @@ longer necessary to import mplot3d to create 3d axes with :: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Previously, `.SymLogNorm` had no *base* keyword argument and the base was -hard-coded to ``base=np.e``. This was inconsistent with the default -behavior of `.SymLogScale` (which defaults to ``base=10``) and the use -of the word "decade" in the documentation. +hard-coded to ``base=np.e``. This was inconsistent with the default behavior of +`.SymmetricalLogScale` (which defaults to ``base=10``) and the use of the word +"decade" in the documentation. -In preparation for changing the default base to 10, calling -`.SymLogNorm` without the new *base* kwarg emits a deprecation -warning. +In preparation for changing the default base to 10, calling `.SymLogNorm` +without the new *base* keyword argument emits a deprecation warning. diff --git a/doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst b/doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst index 0003a0643158..a788df76fdef 100644 --- a/doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst +++ b/doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst @@ -232,10 +232,11 @@ deprecated. Use an explicit list instead. Scales ~~~~~~ -Passing unsupported keyword arguments to `.ScaleBase` and its subclasses -`.LinearScale`, and `.SymLogScale` is deprecated and will raise a `TypeError` in 3.3. +Passing unsupported keyword arguments to `.ScaleBase`, and its subclasses +`.LinearScale` and `.SymmetricalLogScale`, is deprecated and will raise a +`TypeError` in 3.3. -If extra kwargs are passed to `.LogScale`, `TypeError` will now be +If extra keyword arguments are passed to `.LogScale`, `TypeError` will now be raised instead of `ValueError`. Testing diff --git a/doc/missing-references.json b/doc/missing-references.json index ba4d10ccce1d..64a887324438 100644 --- a/doc/missing-references.json +++ b/doc/missing-references.json @@ -933,9 +933,6 @@ "Locator.view_limits()": [ "doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst:113" ], - "SymLogScale": [ - "doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst:224" - ], "GraphicsContextBase": [ "lib/matplotlib/backends/backend_agg.py:docstring of matplotlib.backends.backend_agg.RendererAgg.draw_text:8", "lib/matplotlib/backends/backend_cairo.py:docstring of matplotlib.backends.backend_cairo.RendererCairo.draw_image:8",