File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
plotly/tests/test_core/test_tools Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -71,13 +71,21 @@ def test_specs_rowspan_too_big():
71
71
[{'rowspan' : 2 }]])
72
72
73
73
@raises (Exception )
74
- def test_subplot_insets_wrong_type ():
74
+ def test_insets_wrong_type ():
75
75
fig = tls .make_subplots (insets = "not going to work" )
76
76
77
77
@raises (Exception )
78
- def test_subplot_insets_wrong_item ():
78
+ def test_insets_wrong_item ():
79
79
fig = tls .make_subplots (insets = [{'not' : "going to work" }])
80
80
81
+ @raises (Exception )
82
+ def test_insets_wrong_cell_row ():
83
+ fig = tls .make_subplots (insets = ([{'cell' : (0 , 1 )}]))
84
+
85
+ @raises (Exception )
86
+ def test_insets_wrong_cell_col ():
87
+ fig = tls .make_subplots (insets = ([{'cell' : (1 , 0 )}]))
88
+
81
89
def test_get_single_plot ():
82
90
expected = Figure (
83
91
data = Data (),
You can’t perform that action at this time.
0 commit comments