Skip to content

Conversation

@jbrockmendel
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • 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/vX.X.X.rst file if fixing a bug or adding a new feature.
  • If I used AI to develop this pull request, I prompted it to follow AGENTS.md.

Bug surfaced by #63196, this bugfix is broken off from that PR.


@staticmethod
def format_timedelta_ticks(x, pos, n_decimals: int) -> str:
def format_timedelta_ticks(x, pos, n_decimals: int, exp: int) -> str:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def format_timedelta_ticks(x, pos, n_decimals: int, exp: int) -> str:
def format_timedelta_ticks(x, pos, n_decimals: int, exp: int = 9) -> str:

Just in case someone would be using this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, will update

@jorisvandenbossche jorisvandenbossche added this to the 3.0 milestone Dec 1, 2025
@jorisvandenbossche jorisvandenbossche added Visualization plotting Timedelta Timedelta data type Non-Nano datetime64/timedelta64 with non-nanosecond resolution labels Dec 1, 2025
@jorisvandenbossche
Copy link
Member

The actual change was merged first in #63196, so the diff has reduced

@jorisvandenbossche jorisvandenbossche merged commit 501478f into pandas-dev:main Dec 2, 2025
33 of 41 checks passed
@jbrockmendel jbrockmendel deleted the bug-td-plot branch December 2, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Non-Nano datetime64/timedelta64 with non-nanosecond resolution Timedelta Timedelta data type Visualization plotting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants