Overview
Plotly 5.22, released on June 15, 2024, brings performance improvements for rendering large charts and optimizes image export.
Main Features
Improved performance
The rendering engine is optimized to handle larger datasets with reduced rendering times, especially for scatter plots and 3D charts.
python
import plotly.express as px
import numpy as np
# Performant scatter with 100k points
np.random.seed(42)
n = 100_000
fig = px.scatter(
x=np.random.randn(n),
y=np.random.randn(n),
opacity=0.3,
title='100k points - optimized rendering',
)
fig.show()
