diff --git a/src/components/widget-plot/plot.js b/src/components/widget-plot/plot.js index a8e03f2..719f35a 100644 --- a/src/components/widget-plot/plot.js +++ b/src/components/widget-plot/plot.js @@ -126,11 +126,15 @@ class Plot extends React.Component { } tick = () => { - if (this.state.data == null || this.props.paused === true) { + if (this.state.data == null) { this.setState({ lines: null }); return; } + if (this.props.paused === true) { + return; + } + // calculate yRange let yRange = [0, 0];