Path to this page:
./
wip/py-joypy,
Draw ridgeline plots in Python
Branch: CURRENT,
Version: 0.2.5,
Package name: py312-joypy-0.2.5,
Maintainer: pkgsrc-usersJoyPy is a one-function Python package based on matplotlib + pandas
with a single purpose: drawing joyplots (a.k.a. ridgeline plots).
Joyplots are stacked, partially overlapping density plots, simple as
that. They are a nice way to plot data to visually compare
distributions, especially those that change across one dimension
(e.g., over time). Though hardly a new technique, they have become
very popular lately thanks to the R package ggjoy
(https://github.com/clauswilke/ggjoy) (which is much better
developed/maintained than this one -- and I strongly suggest you use
that if you can use R and ggplot.) **Update**: the ggjoy package has
now been renamed ggridges (https://github.com/clauswilke/ggridges).
A minimal example is the following:
import joypy
import pandas as pd
iris = pd.read_csv("data/iris.csv")
fig, axes = joypy.joyplot(iris)
By default, `joypy.joyplot()` will draw joyplot with a density subplot
for each numeric column in the dataframe. The density is obtained with
the `gaussian_kde` function of scipy.
Master sites:
Version history: (Expand)
- (2024-09-19) Package has been reborn
- (2024-09-19) Updated to version: py312-joypy-0.2.5
- (2024-09-15) Package deleted from pkgsrc
- (2023-02-13) Updated to version: py310-joypy-0.2.5
- (2023-02-13) Package has been reborn
- (2021-10-08) Updated to version: py39-joypy-0.2.5