Utilities for generating plots and visualizations with matplotlib