Skip to content

Commit e124216

Browse files
committed
px.line: don't use webgl for spline shape
If line_shape="spline" is set and render_mode="auto", don't default to webgl (go.Scattergl) as it doesn't support line_shape="spline".
1 parent e670c4b commit e124216

File tree

1 file changed

+1
-0
lines changed
  • packages/python/plotly/plotly/express

1 file changed

+1
-0
lines changed

packages/python/plotly/plotly/express/_core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ def make_trace_spec(args, constructor, attrs, trace_patch):
812812
or (
813813
args["render_mode"] == "auto"
814814
and len(args["data_frame"]) > 1000
815+
and args["line_shape"] != "spline"
815816
and args["animation_frame"] is None
816817
)
817818
):

0 commit comments

Comments
 (0)