Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc0caf commit 92b3880Copy full SHA for 92b3880
plotly/tests/test_graph_objs/test_error_bars.py
@@ -0,0 +1,25 @@
1
+"""
2
+test_error_bars:
3
+================
4
+
5
+A module intended for use with Nose.
6
7
8
+from nose.tools import raises
9
+from ...graph_objs.graph_objs import *
10
+from ...exceptions import (PlotlyDictKeyError, PlotlyDictValueError,
11
+ PlotlyDataTypeError, PlotlyListEntryError)
12
13
+def test_instantiate_error_x():
14
+ ErrorX()
15
+ ErrorX(value=0.1, type='percent', color='red')
16
17
18
+def test_instantiate_error_y():
19
+ ErrorY()
20
+ ErrorY(value=0.1, type='percent', color='red')
21
22
23
+@raises(PlotlyDictKeyError)
24
+def test_key_error():
25
+ ErrorX(value=0.1, typ='percent', color='red')
0 commit comments