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

Skip to content

Commit 0ab3ad1

Browse files
committed
again
1 parent 3ac0da4 commit 0ab3ad1

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

plotly/tests/test_optional/test_figure_factory.py

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,16 +1293,7 @@ def test_df_dataframe_all_args(self):
12931293
'y': [0, 0]}],
12941294
'layout': {'height': 600,
12951295
'hovermode': 'closest',
1296-
'shapes': [{'fillcolor': 'rgb(31.0, 119.0, 180.0)',
1297-
'line': {'width': 0},
1298-
'opacity': 1,
1299-
'type': 'rect',
1300-
'x0': '2009-01-01',
1301-
'x1': '2009-02-30',
1302-
'xref': 'x',
1303-
'y0': -0.2,
1304-
'y1': 0.2,
1305-
'yref': 'y'}],
1296+
'shapes': [{'opacity': 1, 'y1': 0.2, 'xref': 'x', 'fillcolor': 'rgb(31.0, 119.0, 180.0)', 'yref': 'y', 'y0': -0.2, 'x0': '2009-01-01', 'x1': '2009-02-30', 'type': 'rect', 'line': {'width': 0}}, {'opacity': 1, 'y1': 1.2, 'xref': 'x', 'fillcolor': 'rgb(255.0, 127.0, 14.0)', 'yref': 'y', 'y0': 0.8, 'x0': '2009-03-05', 'x1': '2009-04-15', 'type': 'rect', 'line': {'width': 0}}],
13061297
'showlegend': False,
13071298
'title': 'Gantt Chart',
13081299
'width': 900,
@@ -1319,10 +1310,10 @@ def test_df_dataframe_all_args(self):
13191310
'type': 'date',
13201311
'zeroline': False},
13211312
'yaxis': {'autorange': False,
1322-
'range': [-1, 2],
1313+
'range': [-1, 3],
13231314
'showgrid': False,
1324-
'ticktext': ['Job A'],
1325-
'tickvals': [0],
1315+
'ticktext': ['Job A', 'Job B'],
1316+
'tickvals': [0, 1],
13261317
'zeroline': False}}
13271318

13281319
}

0 commit comments

Comments
 (0)