Skip to content

Commit a8a2533

Browse files
authored
Merge pull request #4305 from bwest2397/workaround-px-express-line-not-accepting-spline-on-large-dataframes
px.line: don't use webgl if line_shape="spline" is given
2 parents ba47b31 + 2c5fdba commit a8a2533

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
66

77
### Fixed
88
- Fix issue with creating dendrogram in subplots [[#4411](https://github.com/plotly/plotly.py/pull/4411)],
9+
- Fix issue with px.line not accepting "spline" line shape [[#2812](https://github.com/plotly/plotly.py/issues/2812)],
910

1011
## [5.18.0] - 2023-10-25
1112

Diff for: packages/python/plotly/plotly/express/_core.py

+1
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.get("line_shape") != "spline"
815816
and args["animation_frame"] is None
816817
)
817818
):

0 commit comments

Comments
 (0)