def _import_mpl():
 try:
  import matplotlib.pyplot as plt
 except:
  raise ImportError('Matplotlib is not found.')
 return plt

def _import_mpl ( ) : try : import matplotlib . pyplot as plt except : raise ImportError ( 'Matplotlib is not found.' ) return plt
this function is not needed outside this utils module .