Base class and closeto functions are being deprecated in matplotlib - remove these from SpectrumPlotter.