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.
2 parents 1b3d485 + b25bc4b commit 0e4abf9Copy full SHA for 0e4abf9
inst/htmlwidgets/plotly.js
@@ -10,7 +10,7 @@ HTMLWidgets.widget({
10
if (instance.autosize) {
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