Skip to content
Joy Plots in Python
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
pyjoyplot
.gitignore
LICENSE.txt
MANIFEST
README.md
activities.png
example.py
iris.png
setup.cfg
setup.py
sports.csv

README.md

pyjoy

A thin wrapper around Matplotlib for conveniently making 'joy plots'. lineplot histplot

Usage

Accepts a DataFrame as input, and can be used to make grouped line plots or histograms.

Install from PyPI, pip install pyjoyplot


	Args:
		data (pd.DataFrame): DataFrame holding all data       -- required
		x (str)  : DataFrame column to use as x value         -- required
		y (str)  : DataFrame column to use as y values        -- required, if making a line plot
		hue (str): DataFrame column to use to group data      -- required
		kind (str): specify plot type; line or hist 	      -- default = line
		offset (int/float): vertical seperation between plots -- default = 0.75
		cmap (str/list): name of matplotlib cmap, or list     -- default = 'Dark2'
				 of colors to be used for plots
		smooth (int): smoothing window,                       -- default = 1 (no smoothing)
		order (list): order of categories - top to bottom     -- default = None 
		bins (int/list): bins if using hist. 
				 int for all hists to have same bins
				 else list of bin numbers	      -- default = 10

		return : ax object
You can’t perform that action at this time.