-
Notifications
You must be signed in to change notification settings - Fork 87
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
not working with plot_date #14
Comments
BTW I am using Python 3.5. |
Looks like the code that you used for changing locale is for linux. These are the codes for windows . Using these codes I was able to change the locale settings but I am still getting the same error as above when using adjustText. I tried both 'english-uk' and 'english-us'. |
Can you provide the code to reproduce this error? |
Here is some sample code. I am using Windows and python 3.5.
|
Can you try running the code from the examples? As I said, I have exactly zero experience with date/time plotting, so I don't know - could there be a difference between dates with |
You are right. The error was because I need to convert the dates to number using |
Glad to hear, thanks! Can you show the final code that works here for future reference? |
Sure. Here is a working example with plot_date:
|
Thank you!
|
|
For me it works and doesn't require converting each |
Thanks for creating such an awesome tool!
I am trying to use it with plot_date, however I get this error:
I also tried to set locale as you recommended in the example using:
import locale locale.setlocale(locale.LC_ALL,'en_GB.utf8')
but I get this error:
The text was updated successfully, but these errors were encountered: