We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bbc947 commit 3e034d3Copy full SHA for 3e034d3
src/test/java/com/github/brandtg/stl/StlPlotter.java
@@ -183,8 +183,8 @@ public static void main(String[] args) throws Exception {
183
convert(seasonal),
184
convert(remainder));
185
186
- if (args.length == 3) {
187
- plot(res, new File(args[2]));
+ if (args.length == 1) {
+ plot(res, new File(args[0]));
188
} else {
189
plotOnScreen(res, "Seasonal Decomposition");
190
}
0 commit comments