-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
arrays of datetime.time() objects don't convert into TimeSeries #1531
Comments
Thanks for the bug report Martin! |
It looks like the root issue is that matplotlib doesn't have a converter for
??? |
it's plotting using linspace and then setting the xticklabels (this is in need to convert to datetimes first On Tue, Jun 26, 2012 at 6:09 PM, Wes McKinney <
Chang She |
Well, strictly speaking if the index is |
Right, I agree it would be a hack. I mean, we can try writing our own datetime.time converter for MPL. Can On Tue, Jun 26, 2012 at 6:30 PM, Wes McKinney <
Chang She |
|
How do you see the datetime.time converter help with that issue? I thought #1300 still pertained only to plotting datetime.datetime. |
Merged #1531 and plotting with datetime.time index looking good now |
Dude you ruleeee On Thu, Jun 28, 2012, at 13:04, Wes McKinney wrote:
|
It's all @changhiskhan on this one :) Glad it's sorted out |
* commit 'v0.8.0rc2-26-g76c6351': (42 commits) BUG/TST: typo caused read_csv to lose index name pandas-dev#1536 BUG: incorrect tick label positions pandas-dev#1531 (zooming is still wrong) ENH: register converters with matplotlib for better datetime convesion ENH: handle datetime.date in Period constructor DOC: small doc for pandas-dev#1450 BUG: repr of pre-1900 datetime64 values in a DataFrame column close pandas-dev#1518 BUG: workaround vstack/concat bug in numpy 1.6 pandas-dev#1518 DOC: lreshape docstring, release note ENH: experimental lreshape function BUG: plotting DataFrame with freq with offset BUG: DataFrame plotting with inferred freq BUG: timedelta.total_seconds only in 2.7 and 3.2 DOC: release notes ENH: Add raise on conflict keyword to update DOC: release notes re: pandas-dev#921 overload header keyword instead of extra col_aliases keyword ENH: column aliases for to_csv/to_excel pandas-dev#921 ENH: handle weekly resampling via daily BUG: plot mixed frequencies pandas-dev#1517 BUG/TST: plot irregular and reg freq on same subplot ...
Create an array of datetime.time() objects as an index for a DataFrame, and plotting will be wrong, and the index is not of type TimeSeries. Convert that array (using combine()) into an array of datetime.datetime() objects, and it works.
The text was updated successfully, but these errors were encountered: