@@ -796,7 +796,7 @@ def test_scatter_plot_matrix_kwargs(self):
796796 columns = ['Numbers' , 'Fruit' ])
797797
798798 test_scatter_plot_matrix = tls .FigureFactory .create_scatterplotmatrix (
799- df , index = 'Fruit' , endpts = [- 10 , - 1 ], diag = 'scatter ' ,
799+ df , index = 'Fruit' , endpts = [- 10 , - 1 ], diag = 'box ' ,
800800 height = 1000 , width = 1000 , size = 13 , title = 'Scatterplot Matrix' ,
801801 use_theme = True , palette = 'YlOrRd' , marker = dict (symbol = 136 )
802802 )
@@ -829,32 +829,26 @@ def test_scatter_plot_matrix_kwargs(self):
829829 """
830830
831831 exp_scatter_plot_matrix = {
832- 'data' : [{'marker' : {'color' : 'rgb(128.0, 0.0, 38.0)' ,
833- 'size' : 13 ,
834- 'symbol' : 136 },
835- 'mode' : 'markers' ,
836- 'name' : 'Apple' ,
837- 'showlegend' : False ,
838- 'type' : 'scatter' ,
839- 'x' : [2 , - 15 , - 2 , 0 ],
840- 'xaxis' : 'x1' ,
841- 'y' : [2 , - 15 , - 2 , 0 ],
842- 'yaxis' : 'y1' },
843- {'marker' : {'color' : 'rgb(255.0, 255.0, 204.0)' , 'size' : 13 , 'symbol' : 136 },
844- 'mode' : 'markers' ,
845- 'name' : 'Pear' ,
846- 'showlegend' : False ,
847- 'type' : 'scatter' ,
848- 'x' : [6 , 5 ],
849- 'xaxis' : 'x1' ,
850- 'y' : [6 , 5 ],
851- 'yaxis' : 'y1' }],
852- 'layout' : {'height' : 1000 ,
853- 'showlegend' : True ,
854- 'title' : 'Scatterplot Matrix' ,
855- 'width' : 1000 ,
856- 'xaxis1' : {'anchor' : 'y1' , 'domain' : [0.0 , 1.0 ], 'title' : 'Numbers' },
857- 'yaxis1' : {'anchor' : 'x1' , 'domain' : [0.0 , 1.0 ], 'title' : 'Numbers' }}
832+ 'data' : [{'marker' : {'color' : 'rgb(128.0, 0.0, 38.0)' },
833+ 'name' : None ,
834+ 'showlegend' : False ,
835+ 'type' : 'box' ,
836+ 'xaxis' : 'x1' ,
837+ 'y' : [2 , - 15 , - 2 , 0 ],
838+ 'yaxis' : 'y1' },
839+ {'marker' : {'color' : 'rgb(255.0, 255.0, 204.0)' },
840+ 'name' : None ,
841+ 'showlegend' : False ,
842+ 'type' : 'box' ,
843+ 'xaxis' : 'x1' ,
844+ 'y' : [6 , 5 ],
845+ 'yaxis' : 'y1' }],
846+ 'layout' : {'height' : 1000 ,
847+ 'showlegend' : True ,
848+ 'title' : 'Scatterplot Matrix' ,
849+ 'width' : 1000 ,
850+ 'xaxis1' : {'anchor' : 'y1' , 'domain' : [0.0 , 1.0 ], 'title' : 'Numbers' },
851+ 'yaxis1' : {'anchor' : 'x1' , 'domain' : [0.0 , 1.0 ], 'title' : 'Numbers' }}
858852 }
859853
860854 self .assert_dict_equal (test_scatter_plot_matrix ['data' ][0 ],
0 commit comments