Fixed numpy namespace bug in plots.py