A Bokeh heatmap for Python
Project description
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 a HTML file will be generated like this.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bkheatmap-0.1.5.tar.gz
(18.0 kB
view details)
Built Distribution
File details
Details for the file bkheatmap-0.1.5.tar.gz
.
File metadata
- Download URL: bkheatmap-0.1.5.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53a7188f3c98e6e19cabb28b3a26a22e0792efa11cc79de12c2b3d54b86bba5c |
|
MD5 | fba9cd5c3dc80e54a789cf16d0b8e05e |
|
BLAKE2b-256 | ff8ae1e5cbc03b31402c26698e4dad83f2b33189a764f24a50b97d2abd5212a3 |
File details
Details for the file bkheatmap-0.1.5-py2-none-any.whl
.
File metadata
- Download URL: bkheatmap-0.1.5-py2-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd653592b0174a3ba9b0e1f8e0e2f4809444715f4760cfafcef69b78390c09a7 |
|
MD5 | fef0c814bdb5cbc75eeb8dfcfc46741c |
|
BLAKE2b-256 | da019b6fd49fca714b9493511f01ef1c3d296104ba374509068c89b3a2230d5d |