@image_comparison(baseline_images=[u'EventCollection_plot__set_ls_dash'], remove_text=True)
def test__EventCollection__set_linestyle_single_dash():
 (splt, coll, _) = generate_EventCollection_plot()
 new_linestyle = (0, (6.0, 6.0))
 coll.set_linestyle(new_linestyle)
 assert_equal(coll.get_linestyle(), [(0, (6.0, 6.0))])
 splt.set_title(u'EventCollection: set_linestyle')

@ image_comparison ( baseline_images = [ u'EventCollection_plot__set_ls_dash' ] , remove_text = True ) def test__EventCollection__set_linestyle_single_dash ( ) : ( splt , coll , _ ) = generate_EventCollection_plot ( ) new_linestyle = ( 0 , ( 6.0 , 6.0 ) ) coll . set_linestyle ( new_linestyle ) assert_equal ( coll . get_linestyle ( ) , [ ( 0 , ( 6.0 , 6.0 ) ) ] ) splt . set_title ( u'EventCollection: set_linestyle' )
check to make sure set_linestyle accepts a single dash pattern .