fix argument checks in axis/base.margins

If keyword arguments where used, like mentioned in the documentation, the code would fail as
if more than two parameters where given (since len(args) would be 0 -> != 1/2)