Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c59d6d

Browse files
committed
DOC: Fix references to SymmetricalLogScale.
Not sure why it didn't fail to build on this branch.
1 parent b573119 commit 2c59d6d

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,9 @@ longer necessary to import mplot3d to create 3d axes with ::
312312
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
313313

314314
Previously, `.SymLogNorm` had no *base* keyword argument and the base was
315-
hard-coded to ``base=np.e``. This was inconsistent with the default
316-
behavior of `.SymLogScale` (which defaults to ``base=10``) and the use
317-
of the word "decade" in the documentation.
315+
hard-coded to ``base=np.e``. This was inconsistent with the default behavior of
316+
`.SymmetricalLogScale` (which defaults to ``base=10``) and the use of the word
317+
"decade" in the documentation.
318318

319-
In preparation for changing the default base to 10, calling
320-
`.SymLogNorm` without the new *base* kwarg emits a deprecation
321-
warning.
319+
In preparation for changing the default base to 10, calling `.SymLogNorm`
320+
without the new *base* keyword argument emits a deprecation warning.

doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,11 @@ deprecated. Use an explicit list instead.
232232

233233
Scales
234234
~~~~~~
235-
Passing unsupported keyword arguments to `.ScaleBase` and its subclasses
236-
`.LinearScale`, and `.SymLogScale` is deprecated and will raise a `TypeError` in 3.3.
235+
Passing unsupported keyword arguments to `.ScaleBase`, and its subclasses
236+
`.LinearScale` and `.SymmetricalLogScale`, is deprecated and will raise a
237+
`TypeError` in 3.3.
237238

238-
If extra kwargs are passed to `.LogScale`, `TypeError` will now be
239+
If extra keyword arguments are passed to `.LogScale`, `TypeError` will now be
239240
raised instead of `ValueError`.
240241

241242
Testing

doc/missing-references.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -933,9 +933,6 @@
933933
"Locator.view_limits()": [
934934
"doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst:113"
935935
],
936-
"SymLogScale": [
937-
"doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst:224"
938-
],
939936
"GraphicsContextBase": [
940937
"lib/matplotlib/backends/backend_agg.py:docstring of matplotlib.backends.backend_agg.RendererAgg.draw_text:8",
941938
"lib/matplotlib/backends/backend_cairo.py:docstring of matplotlib.backends.backend_cairo.RendererCairo.draw_image:8",

0 commit comments

Comments
 (0)