소스 검색

Fix missing kwarg

Ben Letham 7 년 전
부모
커밋
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()