BUG : makes Axes.margins work with just kwargs

applied fix supplied by @syoung-m4 in #2510