Skip to content

Instantly share code, notes, and snippets.

View warmlogic's full-sized avatar

Matt Mollison warmlogic

View GitHub Profile
@warmlogic
warmlogic / radar_plot.py
Last active August 29, 2015 14:26 — forked from cfperez/radar_plot.py
radar_plot() wrapper function around matplotlib example
from __future__ import print_function
import matplotlib.pyplot as plt
from matplotlib.path import Path
from matplotlib.spines import Spine
from matplotlib.projections.polar import PolarAxes
from matplotlib.projections import register_projection
import numpy as np
import seaborn as sns
def radar_plot(data, feat_labels=[], line_labels=None, colors=None, ax=None, frame='circle', **kwargs):
@warmlogic
warmlogic / SciPy and OSCON.ipynb
Last active August 29, 2015 14:27 — forked from jbwhit/SciPy and OSCON.ipynb
Some notes on talks that I recommend from the SciPy and OSCON 2015 conferences.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
-- adapted from https://gist.github.com/gabriel-r/f98886d589682d1429744bdbfbfbe11a
-- Create as an Automator Service: Receives "no input" in "any application"
-- System Preferences > Keyboard > Shortcuts > Services: Set keyboard shortcut (e.g., Cmd-Shift-E)
-- Must select URL in browser (Cmd-L) before triggering with keyboard shortcut
tell application "System Events"
set activeApp to name of first application process whose frontmost is true
if "Safari" is in activeApp then
set theURL to missing value
tell application "Safari"
if (exists window 1) then