浏览代码

Fix missing kwarg

Ben Letham 6 年之前
父节点
当前提交
9928dc39ae
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      python/fbprophet/plot.py

+ 1 - 1
python/fbprophet/plot.py

@@ -52,7 +52,7 @@ def plot(
     A matplotlib figure.
     """
     if ax is None:
-        fig = plt.figure(facecolor='w', figsize)
+        fig = plt.figure(facecolor='w', figsize=figsize)
         ax = fig.add_subplot(111)
     else:
         fig = ax.get_figure()