jacopofar / ridger

Make a ridge (joygram) image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ridger

Ridgeline plot (aka Joyplot) library in Python

A ridge plot showing the words Hello World in a pseudo 3D fashion A ridge plot showing a donut in a pseudo 3D fashion

Usage

Have a look at the examples folder.

In short, you need to provide a function that will return the height of the chart in a given point.

Additionally, you can provide a function to specify the color and a distortion of the space (e.g. to implement perspective, see the donut example).

The image is returned as a Pillow object, use .show() to see it immediately or .save(filename) to save it as a file.

About

Make a ridge (joygram) image


Languages

Language:Python 100.0%