def image_comparison(baseline_images=None, extensions=None, tol=0, freetype_version=None, remove_text=False, savefig_kwarg=None, style=u'classic'):
 if (baseline_images is None):
  raise ValueError(u'baseline_images must be specified')
 if (extensions is None):
  extensions = [u'png', u'pdf', u'svg']
 if (savefig_kwarg is None):
  savefig_kwarg = dict()
 return ImageComparisonDecorator(baseline_images=baseline_images, extensions=extensions, tol=tol, freetype_version=freetype_version, remove_text=remove_text, savefig_kwargs=savefig_kwarg, style=style)

def image_comparison ( baseline_images = None , extensions = None , tol = 0 , freetype_version = None , remove_text = False , savefig_kwarg = None , style = u'classic' ) : if ( baseline_images is None ) : raise ValueError ( u'baseline_images must be specified' ) if ( extensions is None ) : extensions = [ u'png' , u'pdf' , u'svg' ] if ( savefig_kwarg is None ) : savefig_kwarg = dict ( ) return ImageComparisonDecorator ( baseline_images = baseline_images , extensions = extensions , tol = tol , freetype_version = freetype_version , remove_text = remove_text , savefig_kwargs = savefig_kwarg , style = style )
compare images generated by the test with those specified in *baseline_images* .