refactored __call__ defs to plot defs