Krzysiek111 commited on
Commit
e163047
1 Parent(s): e388a7f

bug fix - naming parameters by name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,7 +124,7 @@ else:
124
  fig, ax = plt.subplots()
125
  sns.lineplot(x=X_pred, y=Y_pred, color=c2, linestyle=':')
126
  sns.lineplot(x=X, y=Y, color=c1)
127
- sns.lineplot(np.append(X[-1], np.arange(0, test_len, points_granularity) + max(X) + points_granularity), np.append(Y[-1], result['result']), color=c3)
128
  plt.legend(['Train data', 'Test data', 'Predicted data'], loc=3)
129
  plt.xlabel('Sample number')
130
  plt.ylabel('Sample value')
 
124
  fig, ax = plt.subplots()
125
  sns.lineplot(x=X_pred, y=Y_pred, color=c2, linestyle=':')
126
  sns.lineplot(x=X, y=Y, color=c1)
127
+ sns.lineplot(x=np.append(X[-1], np.arange(0, test_len, points_granularity) + max(X) + points_granularity), y=np.append(Y[-1], result['result']), color=c3)
128
  plt.legend(['Train data', 'Test data', 'Predicted data'], loc=3)
129
  plt.xlabel('Sample number')
130
  plt.ylabel('Sample value')