Browse Source

Fix missing kwarg

Ben Letham 6 năm trước cách đây
mục cha
commit
9928dc39ae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      python/fbprophet/plot.py

+ 1 - 1
python/fbprophet/plot.py

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