Skip to content

Instantly share code, notes, and snippets.

; A REPL-based, annotated Seesaw tutorial
; Please visit https://github.com/daveray/seesaw for more info
;
; This is a very basic intro to Seesaw, a Clojure UI toolkit. It covers
; Seesaw's basic features and philosophy, but only scratches the surface
; of what's available. It only assumes knowledge of Clojure. No Swing or
; Java experience is needed.
;
; This material was first presented in a talk at @CraftsmanGuild in
; Ann Arbor, MI.
@Quebecisnice
Quebecisnice / _.md
Created August 2, 2013 01:11
INFO 247 - Lab 7 - #3 - Putting it together (full code)
@Quebecisnice
Quebecisnice / _.md
Created August 2, 2013 01:11
INFO 247 - Lab 7 - #3 - Putting it together (full code)
@Quebecisnice
Quebecisnice / heatmap1.py
Created August 27, 2013 20:58
Generating a simple heatmap w/ python
import numpy as np
from pandas import *
import matplotlib.pyplot as plt
Index = ['aaa', 'bbb', 'ccc', 'ddd', 'eee']
Cols = ['A', 'B', 'C', 'D']
df = DataFrame(abs(np.random.randn(5,4)), index=Index, columns = Cols)
plt.pcolor(df)
plt.yticks(np.arange(0.5, len(df.index), 1), df.index)