You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add line.shape: 'spline' support to scattergl #3229
I was reading #130 but I wonder if there is anything more specific to watch about the progress on "spline".
(in the meantime I'm subscribed to this for updated)
Any news on this?
Using plotly express line chart with dash. The graph is initially loaded with the 'spline' format but on a callback it fails due to scattergl.line not having 'spline' as a shape property
Also wondering if there is a fix for this... it seems like in plotly express 'spline' works with svg as the render_mode but not auto in some circumstances.
Reacted by Patryk Oleniuk and ANDRIAMIZAKASON Toky Axel
I have the same problem.
Furthermore, depending on the amount of data (if render_mode=auto) the render mode is switched from svg to webgl. So I currently have the situation when the spline sometimes works, sometimes does not...
Furthermore, depending on the amount of data (if render_mode=auto) the render mode is switched from svg to webgl. So I currently have the situation when the spline sometimes works, sometimes does not...
I just spent quite awhile trying to figure out why I was getting an exception depending on how much data used, and it turned out to be this. Please fix this.
Thank you for bringing this up again. We likely won't get to this issue in the near future since we are working on a number of other issues, but would be very open to a community PR to resolve it.
Activity
etpinard commentedon Nov 8, 2018
Part of #130, but yeah this now deserves an issue of its own.
brian428 commentedon Nov 8, 2018
Oh, was "spline" never a valid option here?
etpinard commentedon Nov 8, 2018
No.
1.42.0addedline.shapetoscattergl, but w/o the'spline'value.[-]ScatterGL attributes.js is missing 'spline' shape[/-][+]Add `line.shape: 'spline'` support to scattergl[/+]danlabici commentedon Feb 20, 2019
I was reading #130 but I wonder if there is anything more specific to watch about the progress on "spline".
(in the meantime I'm subscribed to this for updated)
Sagaulf commentedon Sep 20, 2019
Any news on this?
Using plotly express line chart with dash. The graph is initially loaded with the
'spline'format but on a callback it fails due toscattergl.linenot having'spline'as a shape propertyZeroCool2u commentedon Nov 7, 2019
Same issue here as @Sagaulf This seems like a bug, because the Plotly Express docs don't mention this constraint at all.
skoeb commentedon Apr 25, 2020
Also wondering if there is a fix for this... it seems like in plotly express 'spline' works with
svgas therender_modebut notautoin some circumstances.patryk-oleniuk commentedon May 3, 2020
I have the same problem.
Furthermore, depending on the amount of data (if
render_mode=auto) the render mode is switched fromsvgtowebgl. So I currently have the situation when thesplinesometimes works, sometimes does not...valankar commentedon Jul 25, 2022
I just spent quite awhile trying to figure out why I was getting an exception depending on how much data used, and it turned out to be this. Please fix this.
pedramardakani commentedon Sep 24, 2025
Not a huge pain yet. But seems like this feature could use some attention if not too much effort.
genseirin commentedon Jul 27, 2026
I would be interested if this is on the roadmap for a new version.
robertclaus commentedon Jul 27, 2026
Thank you for bringing this up again. We likely won't get to this issue in the near future since we are working on a number of other issues, but would be very open to a community PR to resolve it.