@image_comparison(baseline_images=[u'test_eventplot_defaults'], extensions=[u'png'], remove_text=True)
def test_eventplot_defaults():
 np.random.seed(0)
 data1 = np.random.random([32, 20]).tolist()
 data2 = np.random.random([6, 20]).tolist()
 data = (data1 + data2)
 fig = plt.figure()
 axobj = fig.add_subplot(111)
 colls = axobj.eventplot(data)

@ image_comparison ( baseline_images = [ u'test_eventplot_defaults' ] , extensions = [ u'png' ] , remove_text = True ) def test_eventplot_defaults ( ) : np . random . seed ( 0 ) data1 = np . random . random ( [ 32 , 20 ] ) . tolist ( ) data2 = np . random . random ( [ 6 , 20 ] ) . tolist ( ) data = ( data1 + data2 ) fig = plt . figure ( ) axobj = fig . add_subplot ( 111 ) colls = axobj . eventplot ( data )
test that eventplot produces the correct output given the default params .