matplotlib.cbook
A collection of utility functions and classes. Originally, many (but not all) were from the Python Cookbook – hence the name cbook.
This module is safe to import from anywhere within Matplotlib; it imports Matplotlib only at runtime.