#NEWLINE# def test_wrong_histdata_format( self ) : #NEWLINE# #INDENT# kwargs = { #NEWLINE# #INDENT# 'hist_data' : [ 1 , 2 , 3 ] , #NEWLINE# 'group_labels' : [ 'group' ] , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertRaises ( PlotlyError , tls . FigureFactory . create_distplot , ** kwargs )