Skip to content

Instantly share code, notes, and snippets.

View pemj's full-sized avatar

Peter McKay pemj

  • Microsoft
  • Redmond, WA
View GitHub Profile
@pemj
pemj / mpl_cfaces.py
Created November 12, 2015 20:05 — forked from aflaxman/mpl_cfaces.py
Chernoff Faces in Python with Matplotlib
from pylab import *
def cface(ax, x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17,x18):
# x1 = height of upper face
# x2 = overlap of lower face
# x3 = half of vertical size of face
# x4 = width of upper face
# x5 = width of lower face
# x6 = length of nose
# x7 = vertical position of mouth
@pemj
pemj / keybase.md
Last active April 1, 2016 21:52
keybase identity link

Keybase proof

I hereby claim:

  • I am pemj on github.
  • I am cmrd_pem (https://keybase.io/cmrd_pem) on keybase.
  • I have a public key ASBJuy-40f-lg6WtJBdYtz6cqNWO6Ctto2YtsKdQHsk6hgo

To claim this, I am signing this object: