Hot Gym Anomaly Plot Error

Tried the ./ python script. The csv (non plot) generated fine, yet when plotting ran into this. Tried for a while to find issue, must be too close to see it?
fursty@ubuntu:~/nupic/examples/opf/clients/hotgym/anomaly/one_gym$ ./ --plot
Creating model from rec-center-hourly…
Importing model params from model_params.rec_center_hourly_model_params
Traceback (most recent call last):
File “./”, line 152, in
runModel(GYM_NAME, plot=plot)
File “./”, line 142, in runModel
runIoThroughNupic(inputData, model, gymName, plot)
File “./”, line 102, in runIoThroughNupic
output = nupic_anomaly_output.NuPICPlotOutput(gymName)
File “/home/fursty/nupic/examples/opf/clients/hotgym/anomaly/one_gym/”, line 167, in init
NameError: global name ‘plt’ is not defined

Full dump is here

1 Like