Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matplotlib adds %f to end of the xtick date label in Python3 #5

Closed
alaudet opened this issue Feb 19, 2016 · 4 comments
Closed

Matplotlib adds %f to end of the xtick date label in Python3 #5

alaudet opened this issue Feb 19, 2016 · 4 comments
Labels

Comments

@alaudet
Copy link
Owner

alaudet commented Feb 19, 2016

Seems like converting bytes to string for python 3 matplotlib add %f to the end of the time.

20:00:00.%f instead of just 20:00:00

@alaudet alaudet added the bug label Feb 19, 2016
@alaudet alaudet changed the title Matplotlib adds %f to end of the xtick date label in Python3 - P3 branch Matplotlib adds %f to end of the xtick date label in Python3 - p3 branch Feb 19, 2016
@alaudet
Copy link
Owner Author

alaudet commented Feb 19, 2016

@alaudet
Copy link
Owner Author

alaudet commented Feb 21, 2016

There is an issue with dates in matplotlib that is addressed in 1.5.

Thanks to user tacaswell who provided a workaround.

Details
matplotlib/matplotlib#6037 (comment)

I will implement his suggested workaround.

@alaudet alaudet closed this as completed Feb 21, 2016
@alaudet
Copy link
Owner Author

alaudet commented Feb 24, 2016

Re-opening. While this is not a very serious issue I have not yet implemented any fix (even though it is only for very small log files with a few readings)

@alaudet alaudet reopened this Feb 24, 2016
@alaudet alaudet changed the title Matplotlib adds %f to end of the xtick date label in Python3 - p3 branch Matplotlib adds %f to end of the xtick date label in Python3 - devel branch Feb 24, 2016
@alaudet alaudet changed the title Matplotlib adds %f to end of the xtick date label in Python3 - devel branch Matplotlib adds %f to end of the xtick date label in Python3 Mar 2, 2016
@alaudet
Copy link
Owner Author

alaudet commented Apr 28, 2016

It only seems to be doing this when there are a handful of readings. It happens when the scope of the x axis has very few dates and wants to add microseconds to the date and put %f instead.
I am going to close this issue as it has so little impact and apparently will be fixed in a later version of matplotlib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant