Fixed assimilation detection for plot.py