From 3238b7325296c46b25c96f59c415d0a951e0ee90 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sat, 12 Nov 2022 10:02:45 +0000 Subject: [PATCH] Minor improvements to LogLocator docstring --- lib/matplotlib/ticker.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/matplotlib/ticker.py b/lib/matplotlib/ticker.py index df03aa09e335..4d81c4f65b05 100644 --- a/lib/matplotlib/ticker.py +++ b/lib/matplotlib/ticker.py @@ -2259,19 +2259,19 @@ class LogLocator(Locator): def __init__(self, base=10.0, subs=(1.0,), numdecs=4, numticks=None): """ - Place ticks on the locations : subs[j] * base**i + Place ticks at 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 or str 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 default of ``(1.0, )`` places ticks only at integer powers of the base. - The permitted string values are ``'auto'`` and ``'all'``, - both of which use an algorithm based on the axis view + Permitted string values are ``'auto'`` and ``'all'``. + Both of these 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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy