Skip to content

Instantly share code, notes, and snippets.

@trieb
trieb / python_plot_days.py
Last active April 1, 2016 11:50 — forked from anonymous/python_plot_days.py
Plot the difference in days between dates in a list
from datetime import datetime
import matplotlib.pyplot as plt
# TODO: Use plotly instead of matplotlib
# See: https://plot.ly/python/bar-charts/
date_format = '%Y-%m-%d'
dates = []