瀏覽代碼

fix previous

ming 3 年之前
父節點
當前提交
ba9f0b2187
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      newbot.py

+ 2 - 2
newbot.py

@@ -172,8 +172,8 @@ async def get_trend_image(kw_id):
         
     # create an array of numbers for the dates
     x_dates = np.array([dates.date2num(i) for i in x])
-
-
+    print(x)
+    print(kw)
     # create more uniform intervals in x axis and use spline to interpolate data
     x_smooth = np.linspace(x_dates.min(), x_dates.max(), 200)
     #y_smooth = spline(x_dates, y, x_smooth)