<jupyter_start><jupyter_text>heatmap demonstration- This notebook is part of biokit  - https://github.com/biokit/biokit - https://pypi.python.org/pypi/biokit- heatmap with dendograms: heatmap<jupyter_code>%pylab inline
from biokit.viz import Heatmap
from biokit.viz.heatmap import get_heatmap_df
df = get_heatmap_df() # this is a simple test example
h = Heatmap(df)
layout = h.plot()
import pandas as pd
df = pd.DataFrame(numpy.random.randn(40,40))
df[0] += 5
df[10] +=10
df[20] +=5
df.ix[5] += 5
df.ix[15] +=5
df.ix[25] +=5

h.df = df.copy()
layout = h.plot(cmap="RdGy",vmin=-5, vmax=10)<jupyter_output>/home/cokelaer/miniconda3/envs/py3/lib/python3.5/site-packages/ipykernel_launcher.py:6: DeprecationWarning: 
.ix is deprecated. Please use
.loc for label based indexing or
.iloc for positional indexing

See the documentation here:
http://pandas.pydata.org/pandas-docs/stable/indexing.html#ix-indexer-is-deprecated
{'fraction_non_alphanumeric': 0.1395856052344602, 'fraction_numerical': 0.03162486368593239, 'mean_word_length': 5.079470198675497, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '242788', 'license': 'BSD-2-Clause', 'n_tokens_mistral': 390, 'n_tokens_neox': 365, 'n_words': 79, 'path': 'notebooks/viz/heatmap.ipynb', 'repo_name': 'cokelaer/biokit', 'size': '917'}