plotly-resampler
Visualizing large time series with plotly
Decision gist · record as of 2026-08-14
Yes, if you need to visualize large time-series datasets interactively. The package solves a real scalability problem in Plotly and integrates cleanly with existing code. Install friction is low, maintenance is stable (aging but not abandoned), and the MIT license carries no restrictions. The main gotcha is that dynamic aggregation requires Jupyter or Dash—static HTML exports won't work—so confirm your deployment model first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Dynamic aggregation requires either IPython/Jupyter environment (FigureWidgetResampler) or Dash web app (FigureResampler with show_dash); static .show() calls do not enable resampling.
- Low friction installation with a pure-Python wheel.
- Maintenance status is aging—last release was 350 days ago—but the repository remains active with recent commits and no archived status.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects, with only attribution required.
last release 2025-08-29 (350 days) · last repo commit 2025-12-06 · 1,206 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 571,042 downloads/mo, #5,952 on PyPI
Alternatives
Verify before relying
pip install plotly-resampler
import plotly.graph_objects as go
import numpy as np
from plotly_resampler import register_plotly_resampler
register_plotly_resampler(mode='auto')
x = np.arange(1_000_000)
y = np.sin(x / 200)
fig = go.Figure()
fig.add_trace(go.Scatter(x=x, y=y))
fig- Performance characteristics and memory overhead when handling datasets larger than the example's 110,000,000 points.
- Compatibility with all Plotly trace types beyond Scatter and Scattergl.
- Behavior and responsiveness of dynamic aggregation on slower network connections or with high-latency Dash deployments.
What it is and what it does
plotly-resampler wraps Plotly figures to add scalable visualization of large time-series data. Instead of rendering millions of points at once, it dynamically aggregates data based on the current view—when you pan or zoom, the library resamples the underlying dataset to show only the most relevant points, keeping the interface responsive. It uses the MinMaxLTTB algorithm from tsdownsample to select approximately 1000 representative points for display.
The package integrates with Plotly's standard figure construction, so you can use it with plotly.graph_objects or plotly.express with minimal code changes. It supports two modes: FigureResampler for Dash web applications with server-side callbacks, and FigureWidgetResampler for Jupyter notebooks using widget events. A convenience function, register_plotly_resampler, can wrap all figures automatically in a notebook.
Use it for
- Visualize financial time series with millions of OHLC candles or tick data without freezing the browser.
- Explore sensor or IoT data streams in Jupyter notebooks with smooth panning and zooming interactions.
- Build interactive dashboards displaying high-frequency data (e.g., stock ticks, network metrics) with Dash callbacks.
- Analyze scientific time-series data (e.g., seismic, astronomical) where raw datasets exceed typical rendering limits.
- Prototype data exploration tools that need responsive performance on large datasets before optimization.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to visualize large time-series datasets interactively.
The package solves a real scalability problem in Plotly and integrates cleanly with existing code. Install friction is low, maintenance is stable (aging but not abandoned), and the MIT license carries no restrictions. The main gotcha is that dynamic aggregation requires Jupyter or Dash—static HTML exports won't work—so confirm your deployment model first.
Install
plotly-resampler on PyPI
Before you install
Low friction installation with a pure-Python wheel. Maintenance status is aging—last release was 350 days ago—but the repository remains active with recent commits and no archived status.
Dynamic aggregation requires either IPython/Jupyter environment (FigureWidgetResampler) or Dash web app (FigureResampler with show_dash); static .show() calls do not enable resampling.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects, with only attribution required.
Quickstart
pip install plotly-resampler
import plotly.graph_objects as go
import numpy as np
from plotly_resampler import register_plotly_resampler
register_plotly_resampler(mode='auto')
x = np.arange(1_000_000)
y = np.sin(x / 200)
fig = go.Figure()
fig.add_trace(go.Scatter(x=x, y=y))
fig
Verify before relying
- Performance characteristics and memory overhead when handling datasets larger than the example's 110,000,000 points.
- Compatibility with all Plotly trace types beyond Scatter and Scattergl.
- Behavior and responsiveness of dynamic aggregation on slower network connections or with high-latency Dash deployments.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesplotlydashpandasnumpyorjsontsdownsample |
| Maintenance | Aging 350 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 571,042 / month, #5,952 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: plotly_resampler-0.11.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “plotly large time series visualization”
- plotly-resamplerAdds dynamic data aggregation to Plotly figures, enabling responsive…
- tsdownsampleDownsamples large time series datasets to a smaller number of…
- lttbDownsamples time series data using the Largest-Triangle-Three-Buckets…
Give your agent the search over MCP, or paste the wish link into any chat.
More Information Analysis packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.
Install it if you use Snowflake and want to process data without moving it to your application layer.
See also plotly · tsdownsample · dash-bootstrap-templates · jupyter-dash · plotly-express · reflex-components-plotly · chart-studio · datashader · dash-iconify · lttb