The following example crashes:
import plotly.express as px
import numpy as np
from pandas import DataFrame
N = 10
df = DataFrame()
df['x'] = np.random.random(N)
df['y'] = np.random.random(N)
df['label'] = ['a'] * N
fig = px.scatter(df, x='x', y='y', text='label', render_mode='webgl')
fig.write_image('test.png')
with the error:
ValueError: Transform failed with error code 525: POt.indexOf is not a function
This also happens by default for more than 1000 points if render_mode is not explicitly specified.
The following example crashes:
with the error:
This also happens by default for more than 1000 points if render_mode is not explicitly specified.