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

Skip to content

Commit 655e109

Browse files
committed
Merge pull request #5085 from cammil/master
corrected doc string
2 parents db80e29 + 40ef6d7 commit 655e109

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

examples/ticks_and_spines/tick_labels_from_values.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
chosen ticks. However, you may want to allow matplotlib to dynamically
77
choose the number of ticks and their spacing.
88
9-
In this case may be better to determine the tick label from the value
10-
at the tick. The following example shows how to do this.
9+
In this case it may be better to determine the tick label from the
10+
value at the tick. The following example shows how to do this.
1111
12-
NB: The MaxNLocator is used here to ensure that the tick
13-
values take integer values. As such, we need to catch
14-
any IndexErrors in the format function where we have not
15-
defined a label for that particular tick
12+
NB: The MaxNLocator is used here to ensure that the tick values
13+
take integer values.
1614
1715
"""
1816

0 commit comments

Comments
 (0)