Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to space out xticks in matplotlib, pyplot?

As you can see, the xticks are very crowded and cannot be read. How do I space them out better on matplotlib? Any tips? 1

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Could you please detail what your x and y values are, specifically their types? I suspect what is happening is that your x-axis values aren’t datetime objects. If you turn them into datetime objects, it should automatically space them correctly.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading