Skip to content

Instantly share code, notes, and snippets.

@hbristow
hbristow / LispImproved.tmLanguage
Created April 5, 2015 23:32
A slightly improved Common Lisp syntax highlighter for Sublime Text
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
<string></string>
<key>fileTypes</key>
<array>
<string>lisp</string>
<string>cl</string>
@hbristow
hbristow / matplotlibrc
Last active March 25, 2017 09:25
A modern Matplotlib style
# EPIC Matplotlib Style
# =====================
#
# To make this your default style on OS X, save it as:
# ~/.matplotlib/matplotlibrc
#
# Styles: BMH and GGPLOT
# Colors: colorbrewer.org
# Backend
@hbristow
hbristow / color.py
Created April 5, 2015 22:49
Color Brewer (http://colorbrewer.org) colormaps for Matplotlib
"""Perceptually improved colormaps
This module contains a number of colormaps and color space manipulation
functions that aid the visualization of data in Matplotlib. The colormaps
are taken from palettes at colorbrewer.org.
Sequential, diverging and qualitative (categorical) colormaps are provided.
They are, respectively:
- blue, green, purple, orange, pink, rose, ocean, winter, earth, fire