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

Commitead3d4f

Browse files
authored
Merge pull request#24438 from meeseeksmachine/auto-backport-of-pr-24435-on-v3.6.x
Backport PR#24435 on branch v3.6.x (Minor improvements to LogLocator docstring)
2 parents67987b8 +b9058ff commitead3d4f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎lib/matplotlib/ticker.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2262,19 +2262,19 @@ class LogLocator(Locator):
22622262

22632263
def__init__(self,base=10.0,subs=(1.0,),numdecs=4,numticks=None):
22642264
"""
2265-
Place tickson the locations :subs[j] * base**i
2265+
Place ticksat values ``subs[j] * base**n``.
22662266
22672267
Parameters
22682268
----------
22692269
base : float, default: 10.0
22702270
The base of the log used, so major ticks are placed at
2271-
``base**n``,n integer.
2272-
subs : None orstr or sequence of float, default: (1.0,)
2271+
``base**n``,where ``n`` is an integer.
2272+
subs : None or{'auto', 'all'} or sequence of float, default: (1.0,)
22732273
Gives the multiples of integer powers of the base at which
2274-
to place ticks. The default places ticks only at
2274+
to place ticks. The defaultof ``(1.0, )``places ticks only at
22752275
integer powers of the base.
2276-
The permittedstring values are ``'auto'`` and ``'all'``,
2277-
both ofwhich use an algorithm based on the axis view
2276+
Permittedstring values are ``'auto'`` and ``'all'``.
2277+
Both ofthese use an algorithm based on the axis view
22782278
limits to determine whether and how to put ticks between
22792279
integer powers of the base. With ``'auto'``, ticks are
22802280
placed only between integer powers; with ``'all'``, the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp