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

Appearance settings

Commit 3238b73

Browse filesBrowse files
committed
Minor improvements to LogLocator docstring
1 parent 5e5df02 commit 3238b73
Copy full SHA for 3238b73

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎lib/matplotlib/ticker.py

Copy file name to clipboardExpand all lines: lib/matplotlib/ticker.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2259,19 +2259,19 @@ class LogLocator(Locator):
22592259

22602260
def __init__(self, base=10.0, subs=(1.0,), numdecs=4, numticks=None):
22612261
"""
2262-
Place ticks on the locations : subs[j] * base**i
2262+
Place ticks at values ``subs[j] * base**n``.
22632263
22642264
Parameters
22652265
----------
22662266
base : float, default: 10.0
22672267
The base of the log used, so major ticks are placed at
2268-
``base**n``, n integer.
2269-
subs : None or str or sequence of float, default: (1.0,)
2268+
``base**n``, where ``n`` is an integer.
2269+
subs : None or {'auto', 'all'} or sequence of float, default: (1.0,)
22702270
Gives the multiples of integer powers of the base at which
2271-
to place ticks. The default places ticks only at
2271+
to place ticks. The default of ``(1.0, )`` places ticks only at
22722272
integer powers of the base.
2273-
The permitted string values are ``'auto'`` and ``'all'``,
2274-
both of which use an algorithm based on the axis view
2273+
Permitted string values are ``'auto'`` and ``'all'``.
2274+
Both of these use an algorithm based on the axis view
22752275
limits to determine whether and how to put ticks between
22762276
integer powers of the base. With ``'auto'``, ticks are
22772277
placed only between integer powers; with ``'all'``, the

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.