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

Windows user strftime bug #49

Open
semohr opened this issue Jun 30, 2020 · 2 comments
Open

Windows user strftime bug #49

semohr opened this issue Jun 30, 2020 · 2 comments
Labels

Comments

@semohr
Copy link
Member

semohr commented Jun 30, 2020

For windows users plotting functions do not work with default rcParams.

As one can see here Windows does not support %-d. Which we use in our default rcParameters.

We have to change that or create a workaround for windows users.

@jdehning
Copy link
Member

What does the - in %-d do? I would simply remove it, if it is not important...

@semohr
Copy link
Member Author

semohr commented Jun 30, 2020

The - removes the leading 0 if present. %#d does the same for windows but all of that is very operating system depending. We can just replace it with %d.

Not a big problem at all and easy to fix I just found it quite interesting. And it took us quite some time to find this bug.

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

2 participants