make PathCollection inherit from PlotElement