var fig = {
"data": [
{
"error_x": {
"array": [
100000.0,
100000.0,
100000.0
],
"type": "data",
"visible": true
},
"type": "scatter",
"x": [
1554370371547.085,
1554370471547.085,
1554370571547.085
],
"y": [
6,
10,
2
]
}
],
"layout": {
"xaxis": {
"type": "linear"
// "type": "date"
}
}
}
Plotly.newPlot('myDiv', fig, {showSendToCloud: true});
Originally reported in plotly/plotly.py#1488
Here's an example that specifies
error_xand flips between setting thexaxis.typeproperty between'date'and'linear'.CodePen: https://codepen.io/jonmmease/pen/zXrmOK
with

xaxis.type: 'linear':with

xaxis.type: 'date':