Skip to content

Instantly share code, notes, and snippets.

View treycausey's full-sized avatar

Trey Causey treycausey

View GitHub Profile
@treycausey
treycausey / slopegraphs.py
Last active February 19, 2019 12:23
Slopegraphs in matplotlib
# Slopegraphs in matplotlib
# Trey Causey (@treycausey)
# Problems arise when equal values occur
# within the same time unit
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
units = ['A', 'B', 'C', 'D']