Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 01598cf

Browse files
committed
Correct misleading example in log scale docs.
1 parent afacda8 commit 01598cf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/matplotlib/scale.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ def __init__(self, axis, **kwargs):
244244
*subsx*/*subsy*:
245245
Where to place the subticks between each major tick.
246246
Should be a sequence of integers. For example, in a log10
247-
scale: ``[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]``
247+
scale: ``[2, 3, 4, 5, 6, 7, 8, 9]``
248248
249-
will place 10 logarithmically spaced minor ticks between
249+
will place 8 logarithmically spaced minor ticks between
250250
each major tick.
251251
"""
252252
if axis.axis_name == 'x':
@@ -373,9 +373,9 @@ def __init__(self, axis, **kwargs):
373373
*subsx*/*subsy*:
374374
Where to place the subticks between each major tick.
375375
Should be a sequence of integers. For example, in a log10
376-
scale: ``[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]``
376+
scale: ``[2, 3, 4, 5, 6, 7, 8, 9]``
377377
378-
will place 10 logarithmically spaced minor ticks between
378+
will place 8 logarithmically spaced minor ticks between
379379
each major tick.
380380
"""
381381
if axis.axis_name == 'x':

0 commit comments

Comments
 (0)