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

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doc/users/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ Please see :ref:`figures-not-showing`.
.. _how-to-too-many-ticks:

Why do I have so many ticks, and/or why are they out of order?
In simple terms, this happens because Matplotlib treats strings as categories instead of numeric values. As a result, the axis may display ticks in an unexpected order or show too many ticks.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry but I'm not sure what this adds compared with the explanation below. Also, the dashed lines denote that the question is a title, and we do not want to make the answer part of the title.

--------------------------------------------------------------

One common cause for unexpected tick behavior is passing a *list of strings
A common cause for unexpected tick behavior is passing a *list of strings
instead of numbers or datetime objects*. This can easily happen without notice
when reading in a comma-delimited text file. Matplotlib treats lists of strings
as *categorical* variables
Expand Down
2 changes: 1 addition & 1 deletion doc/users/getting_started/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Installation quick-start
Draw a first plot
-----------------

Here is a minimal example plot:
Here is a minimal example of a plot:

.. plot::
:include-source:
Expand Down
Loading