Explorar o código

Fix missing kwarg

Ben Letham %!s(int64=6) %!d(string=hai) anos
pai
achega
9928dc39ae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()