adding plot function decorator that takes required and optional args and builds a map-then-plot function