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
Copy file name to clipboardExpand all lines: notebooks/violin.md
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -236,6 +236,30 @@ fig.update_layout(
236
236
fig.show()
237
237
```
238
238
239
+
#### Ridgeline plot
240
+
241
+
A ridgeline plot ([previously known as Joy Plot](https://serialmentor.com/blog/2017/9/15/goodbye-joyplots)) shows the distribution of a numerical value for several groups. They can be used for visualizing changes in distributions over time or space.
242
+
243
+
```python
244
+
import plotly.graph_objectsas go
245
+
from plotly.colorsimport n_colors
246
+
import numpyas np
247
+
248
+
# 12 sets of normal distributed random data, with increasing mean and standard deviation