Skip to content

Instantly share code, notes, and snippets.

View jorgemarsal's full-sized avatar

Jorge Martinez jorgemarsal

View GitHub Profile
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
sns.set(style="white", context="talk")
# Set up the matplotlib figure
f, (ax1) = plt.subplots(1, 1, figsize=(10, 6), sharex=True)
# Specify data
@jorgemarsal
jorgemarsal / k8s.py
Created January 7, 2016 10:21
Helper functions to get started with Kubernetes API
import jinja2
import json
import logging
import os
import requests
import tempfile
import pykube.config
import pykube.http