Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6bc0caf

Browse files
committed
Initial commit adding ErrorX graph object representing error_x key.
1 parent 7b0bf83 commit 6bc0caf

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

plotly/graph_objs/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
AngularAxis
2626
ColorBar
2727
Contours
28+
ErrorX
2829
ErrorY
2930
Figure
3031
Font
@@ -58,6 +59,7 @@
5859
"AngularAxis",
5960
"ColorBar",
6061
"Contours",
62+
"ErrorX",
6163
"ErrorY",
6264
"Figure",
6365
"Font",

plotly/graph_objs/graph_objs.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"AngularAxis",
4444
"ColorBar",
4545
"Contours",
46+
"ErrorX",
4647
"ErrorY",
4748
"Figure",
4849
"Font",
@@ -90,6 +91,7 @@
9091
annotation='Annotation',
9192
colorbar='ColorBar',
9293
contours='Contours',
94+
error_x='ErrorX',
9395
error_y='ErrorY',
9496
figure='Figure',
9597
font='Font',
@@ -131,6 +133,7 @@
131133
Annotation='annotation',
132134
ColorBar='colorbar',
133135
Contours='contours',
136+
ErrorX='error_x',
134137
ErrorY='error_y',
135138
Figure='figure',
136139
Font='font',
@@ -1113,6 +1116,12 @@ class Contours(PlotlyDict): # TODO: ?
11131116
11141117
"""
11151118

1119+
class ErrorX(PlotlyDict):
1120+
"""A dictionary-like object for representing a set of errorx bars in plotly.
1121+
1122+
"""
1123+
pass
1124+
11161125

11171126
class ErrorY(PlotlyDict):
11181127
"""A dictionary-like object for representing a set of errory bars in plotly.
@@ -1374,6 +1383,7 @@ class YBins(PlotlyDict):
13741383
Annotation=Annotation,
13751384
ColorBar=ColorBar,
13761385
Contours=Contours,
1386+
ErrorX=ErrorX,
13771387
ErrorY=ErrorY,
13781388
Figure=Figure,
13791389
Font=Font,

plotly/graph_reference

Submodule graph_reference updated from 8bc5258 to 785da19

0 commit comments

Comments
 (0)