adding check for plotcfg argument
adding new base class for matplotlib plots