Skip to content

wwliao/bkheatmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Heatmap for Python

bkheatmap is a Python module based on Bokeh to let you plot the interactive heatmaps much easier!

Installation

$ pip install bkheatmap

Usage

Please download mtcars.txt and run bkheatmap as follows:

Use as a module in the Python script

import os
import pandas as pd
from bkheatmap import bkheatmap

infile = "mtcars.txt"
prefix = os.path.splitext(infile)[0]

df = pd.read_table(infile, index_col=0)
bkheatmap(df, prefix=prefix, scale="column")

Or use as a command in the shell

$ bkheatmap --scale column mtcars.txt

Then an HTML file will be generated like this.

About

Interactive Heatmap for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages