fixed a bug in PrettyFig where errorbar plots only on a figure were not recognised