Controlling style of text and labels using a dictionary
This example shows how to share parameters across many text objects and labels by creating a dictionary of options passed across several functions.

import matplotlib.pyplot as plt
import numpy as np
font = {'family': 'serif',