@@ -219,6 +219,9 @@ def test_update_annotations(self):
219
219
"annotations" , [4 ], patch = dict (showarrow = False ), secondary_y = True
220
220
)
221
221
222
+ def test_annotation_attributes (self ):
223
+ self .fig .update_annotations (text = 'hi' )
224
+
222
225
def test_update_shapes (self ):
223
226
(
224
227
self .fig .add_shape (opacity = 0.1 , fillcolor = "red" )
@@ -236,6 +239,9 @@ def test_update_shapes(self):
236
239
self .assert_update ("shapes" , [2 , 3 , 4 ], patch = dict (opacity = 0 ), row = 1 )
237
240
self .assert_update ("shapes" , [2 , 5 ], patch = dict (opacity = 0 ), col = 1 )
238
241
self .assert_update ("shapes" , [4 ], patch = dict (opacity = 0 ), secondary_y = True )
242
+
243
+ def test_shape_attributes (self ):
244
+ self .fig .update_shapes (text = 'hi' )
239
245
240
246
def test_update_images (self ):
241
247
(
@@ -254,3 +260,6 @@ def test_update_images(self):
254
260
self .assert_update ("images" , [2 , 3 , 4 ], patch = dict (opacity = 0 ), row = 1 )
255
261
self .assert_update ("images" , [2 , 5 ], patch = dict (opacity = 0 ), col = 1 )
256
262
self .assert_update ("images" , [4 ], patch = dict (opacity = 0 ), secondary_y = True )
263
+
264
+ def test_image_attributes (self ):
265
+ self .fig .update_layout_images (text = 'hi' )
0 commit comments