diff --git a/book_format.py b/book_format.py index 9f6e679..a7c42e0 100644 --- a/book_format.py +++ b/book_format.py @@ -38,7 +38,9 @@ def equal_axis(): def reset_axis(): pylab.rcParams['figure.figsize'] = 12, 6 - +def set_figsize(x, y): + pylab.rcParams['figure.figsize'] = x, y + def _decode_list(data): rv = [] for item in data: