Skip to content

Instantly share code, notes, and snippets.

View christabella's full-sized avatar
💪
minimizing the negative log-likelihood

Christabella Irwanto christabella

💪
minimizing the negative log-likelihood
View GitHub Profile
@christabella
christabella / gist:8e802f7304576e31fcb0a4d4ff765717
Created November 28, 2017 05:31 — forked from tebeka/gist:5426211
Serving dynamic images with Pandas and matplotlib (using flask)
#!/usr/bin/env python2
'''Serving dynamic images with Pandas and matplotlib (using flask).'''
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from cStringIO import StringIO