Hmm, if I understand correctly, you're saying you could accomplish this more cleanly with:
```
yerr = self.kwds.get('yerr')
xerr = self.kwds.get('xerr')
    if yerr is None and xerr is None:
        plotf = self.plt.Axes.plot
        plotf_name = 'plot'
    else:
        plotf = self.plt.Axes.errorbar
        plotf_name = 'errorbar'
```