@image_comparison(baseline_images=[u'tight_layout8'])
def test_tight_layout8():
 fig = plt.figure()
 fig.set_tight_layout({u'pad': 0.1})
 ax = fig.add_subplot(111)
 example_plot(ax, fontsize=24)

@ image_comparison ( baseline_images = [ u'tight_layout8' ] ) def test_tight_layout8 ( ) : fig = plt . figure ( ) fig . set_tight_layout ( { u'pad' : 0.1 } ) ax = fig . add_subplot ( 111 ) example_plot ( ax , fontsize = 24 )
test automatic use of tight_layout .