Skip to content

Commit 074ad26

Browse files
committed
pass current gd to Plotly.react
1 parent eca3d52 commit 074ad26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dash-core-components/src/fragments/Graph.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class PlotlyGraph extends Component {
182182
gd.classList.add('dash-graph--pending');
183183

184184
return lazyLoadMathJax(mathjax)
185-
.then(() => Plotly.react(gd, figureClone))
185+
.then(() => Plotly.react(this.gd.current, figureClone))
186186
.then(() => {
187187
const gd = this.gd.current;
188188

0 commit comments

Comments
 (0)