fixed plots in images.py