EDIT: I’m running 1.41.3
Hey @etienne was this ever sorted out? I’m getting the warning whenever I try to run relayout with an array of annotations. Here an example of my updates:
{
"yaxis": {
"automargin": true,
"showgrid": false,
"showline": true,
"showticklabels": true,
"zeroline": false,
"range": [
30,
50
],
"title": "Index"
},
"annotations": [
{
"bgcolor": "white",
"bordercolor": "rgba(0, 0, 0, 0.65)",
"borderpad": 2,
"borderwidth": 2,
"captureevents": true,
"font": {
"color": "rgba(0, 0, 0, 0.65)",
"size": 12
},
"hovertext": "Buzz Median: 15",
"showarrow": false,
"text": "<b>Buzz Median</b>",
"textangle": 90,
"x": 15,
"y": 0.95,
"yref": "paper"
},
{
"bgcolor": "white",
"bordercolor": "rgba(0, 0, 0, 0.65)",
"borderpad": 2,
"borderwidth": 2,
"captureevents": true,
"font": {
"color": "rgba(0, 0, 0, 0.65)",
"size": 12
},
"hovertext": "Index Median: 37",
"showarrow": false,
"text": "<b>Index Median</b>",
"textangle": 0,
"y": 37,
"x": 0.95,
"xref": "paper"
}
]
}
It seems to work fine with newPlot
. If there’s anything else I can do to help, let me know!