@cleanup
def test__EventCollection__get_color():
 (_, coll, props) = generate_EventCollection_plot()
 np.testing.assert_array_equal(props[u'color'], coll.get_color())
 check_allprop_array(coll.get_colors(), props[u'color'])

@ cleanup def test__EventCollection__get_color ( ) : ( _ , coll , props ) = generate_EventCollection_plot ( ) np . testing . assert_array_equal ( props [ u'color' ] , coll . get_color ( ) ) check_allprop_array ( coll . get_colors ( ) , props [ u'color' ] )
check to make sure the default color matches the input color .