@image_comparison(baseline_images=[u'EventCollection_plot__set_linewidth'])
def test__EventCollection__set_linewidth():
 (splt, coll, _) = generate_EventCollection_plot()
 new_linewidth = 5
 coll.set_linewidth(new_linewidth)
 assert_equal(coll.get_linewidth(), new_linewidth)
 splt.set_title(u'EventCollection: set_linewidth')

@ image_comparison ( baseline_images = [ u'EventCollection_plot__set_linewidth' ] ) def test__EventCollection__set_linewidth ( ) : ( splt , coll , _ ) = generate_EventCollection_plot ( ) new_linewidth = 5 coll . set_linewidth ( new_linewidth ) assert_equal ( coll . get_linewidth ( ) , new_linewidth ) splt . set_title ( u'EventCollection: set_linewidth' )
check to make sure set_linestyle works properly .