Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

A Bokeh heatmap for Python

Project description

https://img.shields.io/badge/python-2.7-blue.svg https://img.shields.io/badge/license-GPLv3-green.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
bkheatmap-0.1.5-py2-none-any.whl (6.6 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 20, 2017
bkheatmap-0.1.5.tar.gz (18.0 kB) Copy SHA256 hash SHA256 Source None Jan 20, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page