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

Minor improvements to LogLocator docstring#24435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
timhoffm merged 1 commit intomatplotlib:mainfromdstansby:ll-docstring
Nov 12, 2022
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletionslib/matplotlib/ticker.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -2259,19 +2259,19 @@ class LogLocator(Locator):

def __init__(self, base=10.0, subs=(1.0,), numdecs=4, numticks=None):
"""
Place tickson the locations :subs[j] * base**i
Place ticksat values ``subs[j] * base**n``.

Parameters
----------
base : float, default: 10.0
The base of the log used, so major ticks are placed at
``base**n``,n integer.
subs : None orstr or sequence of float, default: (1.0,)
``base**n``,where ``n`` is an integer.
subs : None or{'auto', 'all'} or sequence of float, default: (1.0,)
Gives the multiples of integer powers of the base at which
to place ticks. The default places ticks only at
to place ticks. The defaultof ``(1.0, )``places ticks only at
integer powers of the base.
The permittedstring values are ``'auto'`` and ``'all'``,
both ofwhich use an algorithm based on the axis view
Permittedstring values are ``'auto'`` and ``'all'``.
Both ofthese use an algorithm based on the axis view
limits to determine whether and how to put ticks between
integer powers of the base. With ``'auto'``, ticks are
placed only between integer powers; with ``'all'``, the
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp