We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be92a60 commit 7878da0Copy full SHA for 7878da0
plotly_resampler/figure_resampler/utils.py
@@ -128,7 +128,7 @@ def timedelta_to_str(td: pd.Timedelta) -> str:
128
if c.days > 0:
129
out_str += f"{c.days}D"
130
if c.hours > 0 or c.minutes > 0 or c.seconds > 0 or c.milliseconds > 0:
131
- out_str += "_" if out_str else out_str
+ out_str += "_" if out_str else ""
132
133
if c.hours > 0:
134
out_str += f"{c.hours}h"
0 commit comments