pwilczewski commited on
Commit
a35f64b
·
1 Parent(s): d70f60e

added missing argument

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ df = pd.read_csv("USSTHPI.csv")
12
  python_repl_tool = PythonAstREPLTool(locals={"df": df})
13
 
14
  import matplotlib.pyplot as nplt
15
- def gen_plot():
16
  nplt.figure(figsize=(10, 5))
17
  nplt.plot(df['DATE'], df['USSTHPI'], label='USSTHPI')
18
  nplt.title('Time Series of USSTHPI')
 
12
  python_repl_tool = PythonAstREPLTool(locals={"df": df})
13
 
14
  import matplotlib.pyplot as nplt
15
+ def gen_plot(name):
16
  nplt.figure(figsize=(10, 5))
17
  nplt.plot(df['DATE'], df['USSTHPI'], label='USSTHPI')
18
  nplt.title('Time Series of USSTHPI')