Overview

Plotly 5.15, released on June 15, 2023, adds new chart types and improves rendering performance.

Main Features

New chart types

New trace types are available, including improved waterfall charts and more customizable Sankey diagrams.

python
import plotly.graph_objects as go

fig = go.Figure(go.Waterfall(
    name='Budget',
    orientation='v',
    x=['Start', 'Sales', 'Costs', 'Taxes', 'End'],
    y=[100, 50, -30, -10, 0],
    measure=['absolute', 'relative', 'relative',
             'relative', 'total'],
))
fig.update_layout(title='Budget analysis')
# fig.show()

Rendering performance

The WebGL rendering engine is optimized to handle larger datasets with reduced rendering time.

python
import plotly.express as px
import numpy as np

# Scatter plot with many points
n = 100_000
fig = px.scatter(
    x=np.random.randn(n),
    y=np.random.randn(n),
    opacity=0.1,
    render_mode='webgl',  # GPU acceleration
)
fig.update_layout(title=f'{n:,} points (WebGL)')
# fig.show()

Sources