diff --git a/plugins/plotly-express/src/js/src/PlotlyExpressChartModel.ts b/plugins/plotly-express/src/js/src/PlotlyExpressChartModel.ts index ab97e482b..f03185935 100644 --- a/plugins/plotly-express/src/js/src/PlotlyExpressChartModel.ts +++ b/plugins/plotly-express/src/js/src/PlotlyExpressChartModel.ts @@ -237,7 +237,7 @@ export class PlotlyExpressChartModel extends ChartModel { */ handleWebGlAllowed( webgl: boolean | undefined, - prevWebgl: boolean | undefined + prevWebgl: boolean | undefined = undefined ): void { if (webgl != null) { setWebGlTraceType(this.plotlyData, webgl, this.webGlTraceIndices);