Skip to content

Commit 4201cd5

Browse files
Update time-series.md
1 parent 0d00576 commit 4201cd5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: doc/python/time-series.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ fig.show()
184184

185185
The `rangebreaks` attribute available on x- and y-axes of type `date` can be used to hide certain time-periods. In the example below, we show two plots: one in default mode to show gaps in the data, and one where we hide weekends and holidays to show an uninterrupted trading history. Note the smaller gaps between the grid lines for December 21 and January 4, where holidays were removed. Check out the reference for more options: https://plotly.com/python/reference/#layout-xaxis-rangebreaks
186186

187+
> Note: a known limitation of this feature is that it does not support `scattergl` traces. When using this feature on plots with more than a few hundred data points with `px.scatter` or `px.line` or `px.area`, you may need to pass in `render_mode="svg"` to ensure that the underlying trace type is `scatter` and not `scattergl`.
188+
187189
```python
188190
import plotly.express as px
189191
import pandas as pd
@@ -208,4 +210,4 @@ fig.update_xaxes(
208210
]
209211
)
210212
fig.show()
211-
```
213+
```

0 commit comments

Comments
 (0)