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 9f763f7 + 9536fca commit 9db56d4Copy full SHA for 9db56d4
1 file changed
js/panes/PlotPane.js
@@ -183,7 +183,7 @@ var PlotPane = (props) => {
183
smooth_d.showlegend = false;
184
185
// turn off smoothing for smoothvalue of 3 or too small arrays
186
- if (windowSize < 5 || smooth_d.x.length <= 5) {
+ if (windowSize < 5 || !smooth_d.x || smooth_d.x.length <= 5) {
187
d.opacity = 1.0;
188
189
return smooth_d;
0 commit comments