diff --git a/src/factory.js b/src/factory.js index 2bfb798..d18ebb6 100644 --- a/src/factory.js +++ b/src/factory.js @@ -65,7 +65,7 @@ export default function plotComponentFactory(Plotly) { } updatePlotly(shouldInvokeResizeHandler, figureCallbackFunction, shouldAttachUpdateEvents) { - this.p = this.p + this.p .then(() => { if (!this.el) { let error;