Skip to content

BUG: Fix ValueError when plotting DataFrame with descending DatetimeI…#64826

Open
anubhav9369 wants to merge 3 commits intopandas-dev:mainfrom
anubhav9369:fix-backwards-datetime-plot
Open

BUG: Fix ValueError when plotting DataFrame with descending DatetimeI…#64826
anubhav9369 wants to merge 3 commits intopandas-dev:mainfrom
anubhav9369:fix-backwards-datetime-plot

Conversation

@anubhav9369
Copy link

@anubhav9369 anubhav9369 commented Mar 24, 2026

  • closes BUG: DataFrames with backwards time index cannot be plotted #64819
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/v3.1.0.rst file if fixing a bug or adding a new feature.
  • I have reviewed and followed all the contribution guidelines
  • If I used AI to develop this pull request, I prompted it to follow AGENTS.md.
@anubhav9369
Copy link
Author

All failures are due to the pre-existing flaky test test_no_track_times (GH#32682) in test_store.py, which checks HDF5 file checksums based on timing unrelated to this plotting fix. This test was already failing on main before this PR.

@anubhav9369
Copy link
Author

macOS py312 runs 223k tests with 0 failures.
Happy to rebase or make any changes the maintainers suggest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant