@@ -111,22 +111,6 @@ def test_append_scatter():
111111 assert d1 == d2
112112
113113
114- @raises (Exception )
115- def test_append_scatter_after_deleting_xaxis ():
116- trace = Scatter (x = [1 , 2 , 3 ], y = [2 , 3 , 4 ])
117- fig = tls .make_subplots (rows = 2 , cols = 3 )
118- fig ['layout' ].pop ('xaxis5' , None )
119- fig .append_trace (trace , 2 , 2 )
120-
121-
122- @raises (Exception )
123- def test_append_scatter_after_deleting_yaxis ():
124- trace = Scatter (x = [1 , 2 , 3 ], y = [2 , 3 , 4 ])
125- fig = tls .make_subplots (rows = 2 , cols = 3 )
126- fig ['layout' ].pop ('yaxis5' , None )
127- fig .append_trace (trace , 2 , 2 )
128-
129-
130114def test_append_scatter3d ():
131115 expected = Figure (
132116 data = Data ([
@@ -168,13 +152,3 @@ def test_append_scatter3d():
168152
169153 d1 , d2 = strip_dict_params (fig ['layout' ], expected ['layout' ])
170154 assert d1 == d2
171-
172-
173- @raises (Exception )
174- def test_append_scatter3d_after_deleting_scene ():
175- fig = tls .make_subplots (rows = 2 , cols = 1 ,
176- specs = [[{'is_3d' : True }],
177- [{'is_3d' : True }]])
178- trace = Scatter3d (x = [1 , 2 , 3 ], y = [2 , 3 , 4 ], z = [1 , 2 , 3 ])
179- fig ['layout' ].pop ('scene1' , None )
180- fig .append_trace (trace , 1 , 1 )
0 commit comments