WhiskerPlots and ScatterPlots have a lot of great flexibility in their methods that control what the plots look like, but most of that flexibility doesn't appear in the __call__ methods themselves. It would be great to add a **kwargs line to the call and then pass that through to the child classes.
I think the easiest way to do this would be to have a dict of the expected kwargs when __call__ calls whiskerPlot() or scatterPlot(), then to update that dict with the kwargs from the call signature, and then just run, e.g., whiskerPlot (args, ..., **expected_kwargs_after_update). But there might be another way to do it too.
WhiskerPlots and ScatterPlots have a lot of great flexibility in their methods that control what the plots look like, but most of that flexibility doesn't appear in the
__call__
methods themselves. It would be great to add a **kwargs line to the call and then pass that through to the child classes.I think the easiest way to do this would be to have a dict of the expected kwargs when
__call__
callswhiskerPlot()
orscatterPlot()
, then to update that dict with the kwargs from the call signature, and then just run, e.g.,whiskerPlot (args, ..., **expected_kwargs_after_update)
. But there might be another way to do it too.