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

Stem plots could handle dates, no? #2938

Closed
lebigot opened this issue Mar 29, 2014 · 3 comments
Closed

Stem plots could handle dates, no? #2938

lebigot opened this issue Mar 29, 2014 · 3 comments

Comments

@lebigot
Copy link
Contributor

lebigot commented Mar 29, 2014

pyplot.stem() does not work when the data contains dates because axes.stem() forces the data to float (

y = np.asarray(args[0], dtype=np.float)
and
second = np.asarray(args[0], dtype=np.float)
).

Is this really necessary? by removing the conversion to float, plotting dates in the abscissa works, for instance.

@tacaswell
Copy link
Member

There is an open pr to fix this

@tacaswell
Copy link
Member

Fixed by #2839, duplicate of #2602.

I am going to close this we already have it tracked in other issues. Please re-open if I have miss-understood.

@lebigot
Copy link
Contributor Author

lebigot commented Mar 31, 2014

Thanks, Thomas, that's exactly it! Sorry to have missed the existing open issues—I had searched the issues for "date", not "datetime"…

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

No branches or pull requests

2 participants