We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 306050e commit cccc65eCopy full SHA for cccc65e
inst/htmlwidgets/plotly.js
@@ -10,7 +10,7 @@ HTMLWidgets.widget({
10
if (instance.autosize && el.isConnected) {
11
var width = instance.width || width;
12
var height = instance.height || height;
13
- Plotly.relayout(el.id, {width: width, height: height});
+ Plotly.relayout(el, {width: width, height: height});
14
}
15
},
16
0 commit comments