Changed plotgen to take a literal axes argument

This precludes our passing positional arguments to the plot function but that's not a huge loss I don't think
somehow this fixes sphinx autodoc