Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitd5c2400

Browse files
committed
FIX
1 parentc670b3e commitd5c2400

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

‎lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,7 @@ def secondary_xaxis(self, location, *, functions=None, **kwargs):
613613
Examples
614614
--------
615615
616-
Add a secondary axes that shows both wavelength for the main
617-
axes that shows wavenumber.
616+
The main axis shows frequency, and the secondary axis shows period.
618617
619618
.. plot::
620619

‎lib/matplotlib/axes/_secondary_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def set_color(self, color):
441441
442442
If a 2-tuple of functions, the user specifies the transform
443443
function and its inverse. i.e.
444-
`functions=(lamda x: 2 / x, lambda x: 2 / x)` would be an
444+
`functions=(lambda x: 2 / x, lambda x: 2 / x)` would be an
445445
reciprocal transform with a factor of 2.
446446
447447
The user can also directly supply a subclass of

‎lib/matplotlib/scale.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def __init__(self, axis, functions):
163163
164164
functions : (callable, callable)
165165
two-tuple of the forward and inverse functions for the scale.
166-
The forward function must be monotonic
166+
The forward function must be monotonic.
167167
168168
Both functions must have the signature::
169169
@@ -411,7 +411,7 @@ def limit_range_for_scale(self, vmin, vmax, minpos):
411411
classFuncScaleLog(LogScale):
412412
"""
413413
Provide an arbitrary scale with user-supplied function for the axis and
414-
then put on a logarithmic axes
414+
then put on a logarithmic axes.
415415
"""
416416

417417
name='functionlog'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp