Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Plot categorical heatmaps with seaborn

License

NotificationsYou must be signed in to change notification settings

schlegelp/catheat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wrapper forseaborn to plot categorical heatmaps. Tested with seaborn version0.8.1.

Installation

I recommend usingPython Packaging Index (PIP) to install.First, getPIP and then run in terminal:

pip install git+https://github.com/schlegelp/catheat@master

This command should also work to update the package.

If your default distribution is Python 2, you have to explicitly tellPIP to install for Python 3:

pip3 install git+https://github.com/schlegelp/catheat@master

Dependencies:

Quickstart:

Plot a simple categorical heatmap

importcatheatimportseabornassns# Get an example dataset from seaborntips=sns.load_dataset('tips')# Plot the categorical columns as heatmapax=catheat.heatmap(tips[['sex','smoker','day','time','size']],palette='Paired')plt.show()

License:

This code is under GNU GPL V3

About

Plot categorical heatmaps with seaborn

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp