Fixed bug in plotmap.py