#!/usr/bin/env python """ http://stackoverflow.com/questions/8209568/how-do-i-draw-a-grid-onto-a-plot-in-python """ def plot(plt, params): plt.plot([0, 1, 4, 9]) plt.grid()