Registry / analytics / ridgeplot

ridgeplot

JSON →
library0.6.0pypypi✓ verified 86d ago

A Python library for creating beautiful ridgeline (joyplot) plots using Plotly-like grammar. Version 0.6.0 requires Python >=3.10. Development seems stalled (last release May 2023).

pip install ridgeplot
INSTALL
IMPORT
SIG · RIDGEPLOT
R
ridgeplot
analyticspythonv0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ridgeplot
from ridgeplot import ridgeplot
import ridgeplot
Top-level function, not module attribute.
RidgeplotConfig
from ridgeplot import RidgeplotConfig

Create a basic ridgeline plot from a dictionary of samples.

from ridgeplot import ridgeplot import pandas as pd import numpy as np df = pd.DataFrame({ 'group': [f'G{i}' for i in range(3) for _ in range(100)], 'value': np.random.randn(300) }) fig = ridgeplot( samples=df.groupby('group')['value'].apply(list).to_dict(), coloralpha=0.6 ) fig.show()
Debug
Known issues
deprecatedThe 'ridgeplot' function in versions <0.6.0 had a different signature; 'samples' replaced 'data'.
fix
Use 'samples' parameter instead of 'data'.
affects: <0.6.0
gotchaThe library does not work with Plotly's default figure factory; you must use ridgeplot's own function.
fix
Use from ridgeplot import ridgeplot.
affects: all
gotchaInput data must be a dictionary of lists (each list = sample values for a group).
fix
Convert DataFrame columns to list before passing.
affects: all
Errors
Common errors & fixes
AttributeError: module 'ridgeplot' has no attribute 'ridgeplot'
Using import ridgeplot then calling ridgeplot.ridgeplot()
fix
Use 'from ridgeplot import ridgeplot' and then just 'ridgeplot(...)'
ValueError: The samples dict must be a non-empty dict of iterables
Passing empty dictionary or malformed data.
fix
Ensure samples is a dict with at least one key and each value is a list of numeric values.
Upgrade
Version history
0.6.0latest on PyPI · released Apr 7, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
OpenAI (training)
1
Resources
ridgeplot — pip install ridgeplot · libregistry