Skip to content

Validate few more mocks #5671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions tasks/test_mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,11 @@ function notBlackListed(name) {
'30',
'31',
'32',
'2dhistogram_contour_subplots',
'2dhistogram_contour_subplots_bingroup',
'annotations',
'annotations-autorange',
'axes_booleans',
'axes_category_ascending',
'axes_category_descending',
'axes_category_descending_with_gaps',
'axes_labels',
'axes-ticks',
'bar-alignment-offset',
'box-alignment-offset',
'candlestick_double-y-axis',
'candlestick_rangeslider_thai',
'category-autorange',
Expand All @@ -164,7 +157,6 @@ function notBlackListed(name) {
'error_bar_style',
'fake_violins',
'fonts',
'funnel_11',
'geo_africa-insets',
'gl2d_10',
'gl2d_12',
Expand Down Expand Up @@ -216,7 +208,6 @@ function notBlackListed(name) {
'gl3d_z-range',
'glpolar_scatter',
'heatmap_small_aspect-ratio',
'hist_cum_stacked',
'histogram_errorbars_inherit_color',
'indicator_attrs',
'indicator_bignumber',
Expand Down Expand Up @@ -255,9 +246,7 @@ function notBlackListed(name) {
'violin_non-linear',
'violin_ridgeplot',
'violin_style',
'waterfall_11',
'waterfall_funnel_texttemplate_date',
'world-cals',
'yaxis-over-yaxis2',
'yignbu_heatmap',
'yiorrd_heatmap'
Expand Down
2 changes: 1 addition & 1 deletion test/image/mocks/2dhistogram_contour_subplots.json
Original file line number Diff line number Diff line change
Expand Up @@ -8022,7 +8022,7 @@
"name": "density",
"ncontours": 20,
"colorscale": "Hot",
"reversescl": true,
"reversescale": true,
"showscale": false,
"type": "histogram2dcontour"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8022,7 +8022,7 @@
"name": "density",
"ncontours": 20,
"colorscale": "Hot",
"reversescl": true,
"reversescale": true,
"showscale": false,
"type": "histogram2dcontour",
"xbingroup": "X",
Expand Down
3 changes: 1 addition & 2 deletions test/image/mocks/axes_category_ascending.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"text": "category ascending"
},
"type": "category",
"categoryorder": "category ascending",
"categoryarray": ["y","b","x","a","d","z","e","c", "q", "k"]
"categoryorder": "category ascending"
}}
}
3 changes: 1 addition & 2 deletions test/image/mocks/axes_category_descending.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
},
"xaxis": {
"type": "category",
"categoryorder": "category descending",
"categoryarray": [2,4,5,1]
"categoryorder": "category descending"
},
"yaxis": {
"type": "linear",
Expand Down
3 changes: 1 addition & 2 deletions test/image/mocks/axes_category_descending_with_gaps.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
},
"xaxis": {
"type": "category",
"categoryorder": "category descending",
"categoryarray": [2,4,5,1]
"categoryorder": "category descending"
},
"yaxis": {
"type": "linear",
Expand Down
1 change: 0 additions & 1 deletion test/image/mocks/bar-alignment-offset.json
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@
"x": 0,
"xref": "paper",
"y": 0.96,
"yref": "cont",
"font": {
"size": 20
}
Expand Down
1 change: 0 additions & 1 deletion test/image/mocks/box-alignment-offset.json
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,6 @@
"x": 0,
"xref": "paper",
"y": 0.96,
"yref": "cont",
"font": {
"size": 20
}
Expand Down
98 changes: 2 additions & 96 deletions test/image/mocks/funnel_11.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,36 +33,6 @@
"color": "rgb(0, 196, 200)"
},
"type": "funnel", "orientation": "v"
},
{
"x": [
"Half Dose",
"Full Dose",
"Double Dose"
],
"y": [
"1.4102837",
"1.236752",
"0.8396031"
],
"name": "Std Dev - OJ",
"visible": false,
"type": "funnel", "orientation": "v"
},
{
"x": [
"Half Dose",
"Full Dose",
"Double Dose"
],
"y": [
"0.868562",
"0.7954104",
"1.5171757"
],
"name": "Std Dev - VC",
"visible": false,
"type": "funnel", "orientation": "v"
}
],
"layout": {
Expand Down Expand Up @@ -100,40 +70,20 @@
"showgrid": true,
"zeroline": false,
"showline": false,
"autotick": true,
"nticks": 0,
"ticks": "",
"showticklabels": true,
"tick0": 0,
"dtick": 1,
"ticklen": 5,
"tickwidth": 1,
"tickcolor": "#000",
"tickangle": 0,
"tickfont": {
"size": 16
},
"exponentformat": "e",
"showexponent": "all",
"gridcolor": "rgb(255, 255, 255)",
"gridwidth": 1.9,
"zerolinecolor": "#000",
"zerolinewidth": 1,
"linecolor": "#000",
"linewidth": 0.1,
"anchor": "y",
"position": 0,
"mirror": true,
"overlaying": false,
"autorange": true
},
"yaxis": {
"title": {
"text": "Length",
"font": {
"size": 16
}
},
"range": [
0,
29.11281652631579
Expand All @@ -144,44 +94,14 @@
],
"type": "linear",
"rangemode": "normal",
"showgrid": true,
"zeroline": false,
"showline": false,
"autotick": true,
"nticks": 0,
"ticks": "",
"showticklabels": true,
"tick0": 0,
"dtick": 5,
"ticklen": 5,
"tickwidth": 1,
"tickcolor": "#000",
"tickangle": 0,
"tickfont": {
"family": "",
"size": 16,
"color": ""
},
"exponentformat": "e",
"showexponent": "all",
"gridcolor": "rgb(255, 255, 255)",
"gridwidth": 1.9,
"zerolinecolor": "#000",
"zerolinewidth": 1,
"linecolor": "#000",
"linewidth": 0.1,
"anchor": "x",
"position": 0,
"mirror": true,
"overlaying": false,
"autorange": true
},
"legend": {
"x": 1.02,
"y": 0.9319072504424065,
"traceorder": "normal",
"font": {
"family": "",
"size": 16,
"color": "rgb(0, 0, 0)"
},
Expand All @@ -199,29 +119,16 @@
"yref": "paper",
"text": "<b>Supplement</b>",
"font": {
"family": "",
"size": 18,
"color": ""
"size": 18
},
"align": "center",
"showarrow": false,
"arrowhead": 1,
"arrowsize": 1,
"arrowwidth": 0,
"arrowcolor": "",
"ax": -10,
"ay": -26.7109375,
"bordercolor": "",
"borderwidth": 1,
"borderpad": 1,
"bgcolor": "rgba(0,0,0,0)",
"opacity": 1,
"xanchor": "auto",
"yanchor": "auto",
"xatype": "category",
"yatype": "linear",
"tag": "",
"ref": "paper"
"yanchor": "auto"
}
],
"margin": {
Expand All @@ -239,7 +146,6 @@
"funnelmode": "group",
"funnelgap": 0.2,
"funnelgroupgap": 0,
"boxmode": "overlay",
"separators": ".,",
"hidesources": false
}
Expand Down
2 changes: 1 addition & 1 deletion test/image/mocks/hist_cum_stacked.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"x": [3, 3, 4, 5, 6, 7, 7],
"type": "histogram",
"cumulative": {"enabled": true, "currentbin": "exclude"},
"xbins": {"start": 0.5, "end": 10.5, "size": 1},
"xbins": {"start": 0.5, "end": 10.5},
"marker": {"color": "red", "line": {"width": 2, "color": "#000"}},
"name": "B"
},
Expand Down
Loading