Description
plotly-resampler is a Python library that makes Plotly line charts usable with very large time series. Instead of sending every raw point to the browser, it aggregates the data for the current view and updates the chart as you pan or zoom. It wraps ordinary Plotly figures. display widget events. Calling show produces a static HTML view, which cannot aggregate dynamically. The aggregation uses time-series point selection algorithms from the tsdownsample library, and the default method is MinMaxLTTB, which selects 1000 points for each plot. The project demonstrates a view over 110 million data points. The authors say new development now happens in FlexViz, their successor project, which applies the same idea to whole dashboards with linked filtering and several chart types. plotly-resampler itself is still maintained for bug fixes and Plotly compatibility. It is installed with pip.…
Highlights
- Dynamic aggregation of line charts for large series
- Works with Plotly figures and Dash apps
- MinMaxLTTB default downsampling
- Notebook support with FigureWidgetResampler
- Installs with pip
Ratings & Reviews
No ratings yet
Be the first to rate Plotly Resampler.
People also visit
Plotly Resampler FAQ
What is plotly-resampler?
A Python library that adds resampling to Plotly figures, so large time series line charts stay responsive by aggregating the points for the current view.
Who is it for?
Python users who plot large sequential data, such as time series, with Plotly and want to avoid sending every raw point to the browser.
How do I install it?
Install it with pip install plotly-resampler.
Why does show() not update when I zoom?
show always creates a static HTML view, which cannot aggregate dynamically. Use show_dash with FigureResampler, or display the object in a notebook.
Which aggregation method is used?
MinMaxLTTB by default, selecting 1000 points for the plot. The tsdownsample library provides the implementations.
What are the best Plotly Resampler alternatives?
Popular alternatives to Plotly Resampler include Deepscatter, ipyvizzu and Pylive. See all Plotly Resampler alternatives



