File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ def test_numpy_array_mime_type():
8484
8585def test_pytorch_tensor_mime_type ():
8686 """
87+ Check that a PyTorch tensor has the correct mime-type
8788 """
8889 torch .manual_seed (1724 )
8990 array = torch .rand (2 , 3 )
@@ -93,6 +94,7 @@ def test_pytorch_tensor_mime_type():
9394
9495def test_matplotlib_figure_mime_type ():
9596 """
97+ Check that a matplotlib figure has the correct mime-type
9698 """
9799 plt .plot ([1 , 2 , 3 , 4 ])
98100 figure = plt .gcf ()
@@ -101,8 +103,9 @@ def test_matplotlib_figure_mime_type():
101103
102104 assert (mime_type == 'application/vnd.plotly.v1+json' )
103105
104- def test_matplotlib_figure_mime_type ():
106+ def test_plotly_figure_mime_type ():
105107 """
108+ Check that a plotly figure has the correct mime-type
106109 """
107110 plt .plot ([1 , 2 , 3 , 4 ])
108111 figure = plt .gcf ()
You can’t perform that action at this time.
0 commit comments