This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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): |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 |