Skip to content

Commit 5076d6c

Browse files
Update facet-plots.md
1 parent fb6c042 commit 5076d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc/python/facet-plots.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fig.show()
129129

130130
*introduced in plotly 4.12*
131131

132-
The `.add_trace()` method can be used to add a copy of the same trace to each facet, for example an overall linear regression line as below. The `legendgroup`/`showlegend` pattern below is recommended to avoid having a separate legend item for each copy of the trace.
132+
The `.add_trace()` method can be used to add a copy of the same trace to each facet, for example an overall linear regression line as below. The `legendgroup`/`showlegend` pattern below is recommended to avoid having a separate legend item for each copy of the trace. Note that as of v5.2.1, there is [a built-in option to add an overall trendline to all facets](https://plotly.com/python/linear-fits/) that uses this technique under the hood.
133133

134134
```python
135135
import plotly.express as px

0 commit comments

Comments
 (0)