all_setup = """ import numpy as np ; from scipy.linalg import sqrtm ; from numpy.linalg import inv ; from numpy import sqrt
  a=.1 ; c=43.2 ; d=32.343"""
Efficient way to plotting multiple images with many patches in matplotlib?