File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ _how-to-too-many-ticks
1515Why 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
2423puts one tick per "category", and plots them in the order in which they are
2524supplied.
You can’t perform that action at this time.
0 commit comments