We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfa69ce commit 0f75a2dCopy full SHA for 0f75a2d
plotly/tests/test_core/test_tools/test_make_subplots.py
@@ -71,13 +71,21 @@ def test_specs_rowspan_too_big():
71
[{'rowspan': 2}]])
72
73
@raises(Exception)
74
-def test_subplot_insets_wrong_type():
+def test_insets_wrong_type():
75
fig = tls.make_subplots(insets="not going to work")
76
77
78
-def test_subplot_insets_wrong_item():
+def test_insets_wrong_item():
79
fig = tls.make_subplots(insets=[{'not': "going to work"}])
80
81
+@raises(Exception)
82
+def test_insets_wrong_cell_row():
83
+ fig = tls.make_subplots(insets=([{'cell': (0, 1)}]))
84
+
85
86
+def test_insets_wrong_cell_col():
87
+ fig = tls.make_subplots(insets=([{'cell': (1, 0)}]))
88
89
def test_get_single_plot():
90
expected = Figure(
91
data=Data(),
0 commit comments