File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,11 @@ export default {
23
23
},
24
24
data () {
25
25
return {
26
- internalLayout: { ... this .layout },
27
26
scheduled: null
28
27
};
29
28
},
30
29
mounted () {
31
- Plotly .newPlot (this .$el , this .data , this .internalLayout , this .$attrs );
30
+ Plotly .newPlot (this .$el , this .data , this .layout , this .$attrs );
32
31
events .forEach (evt => {
33
32
this .$el .on (evt .completeName , evt .handler (this ));
34
33
});
@@ -97,10 +96,10 @@ export default {
97
96
};
98
97
},
99
98
plot () {
100
- return Plotly .plot (this .$el , this .data , this .internalLayout , this .$attrs );
99
+ return Plotly .plot (this .$el , this .data , this .layout , this .$attrs );
101
100
},
102
101
newPlot () {
103
- Plotly .react (this .$el , this .data , this .internalLayout , this .$attrs );
102
+ Plotly .react (this .$el , this .data , this .layout , this .$attrs );
104
103
}
105
104
}
106
105
};
You can’t perform that action at this time.
0 commit comments