Skip to content

Commit c8ce36a

Browse files
jklymaktimhoffm
andauthored
Update doc/users/faq/howto_faq.rst
Co-authored-by: Tim Hoffmann <[email protected]>
1 parent bda88df commit c8ce36a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/users/faq/howto_faq.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ _how-to-too-many-ticks
1515
Why do I have so many ticks, and/or why are they out of order?
1616
--------------------------------------------------------------
1717

18-
Sometimes Matplotlib will unexpectedly plot with a tick for each data point,
19-
and/or the ticks will be out of numerical order. This is usually a sign that you
20-
have passed in a list of strings rather than a list or array of floats or
21-
datetime objects. This will often happen when reading in a comma-delimited text
22-
file. Matplotlib treats lists of strings as "categorical" variables
18+
One common cause for unexpected tick behavior is passing a list of strings
19+
instead of numbers or datetime objects. This can easily happen without notice
20+
when reading in a comma-delimited text file. Matplotlib treats lists of strings
21+
as "categorical" variables
2322
(:doc:`/gallery/lines_bars_and_markers/categorical_variables`), and by default
2423
puts one tick per "category", and plots them in the order in which they are
2524
supplied.

0 commit comments

Comments
 (0)