plotly-resampler icon indicating copy to clipboard operation
plotly-resampler copied to clipboard

Support plotly 6

Open kszlim opened this issue 9 months ago • 3 comments

Currently due to https://github.com/predict-idlab/plotly-resampler/blob/main/pyproject.toml#L39 any dependency resolution will fix plotly at 5. It'd be nice if the next release supported plotly 6 (it might just work out of the box, might be worth testing relaxation of the dependency constraint).

kszlim avatar Feb 05 '25 20:02 kszlim

Hi @kszlim,

Thank you for your suggestion. It appears that plotly-6.0.0 requires python>=3.8, so we would need to drop python 3.7 support in newer versions of plotly-resampler (which is rather fair, as python3.7 is also dropped in newer versions of tsdownsample).

Moreover, Dash>2.11 appears to include the behavior we served via the jupyterdash package, also requiring a large rework.

I can look into this tomorrow and provide a better estimate of how much work this would take up.

jonasvdd avatar Feb 06 '25 12:02 jonasvdd

Fixed in #338, will be closed after a new release.

jonasvdd avatar Feb 21 '25 15:02 jonasvdd

This can be tested in plotly-resampler==0.11.0rc0

jonasvdd avatar Mar 13 '25 13:03 jonasvdd

@jonasvdd , is there a roadmap for a 0.11 release? plotly 6 support would be great, but I'd like to avoid release candidates in my projects.

hwjohn avatar Aug 28 '25 14:08 hwjohn

Hi, I think 0.11.0 is quite stable, so I'll look into creating a final version today! 😄

jonasvdd avatar Aug 29 '25 12:08 jonasvdd

Done! Released plotly-resampler=v0.11.0

jonasvdd avatar Aug 29 '25 12:08 jonasvdd