Limit plotting code update