From 31c1d4f0ac52d14efcf257b82aa11c4c1f76ccd4 2014-01-25 14:45:09 From: Daniel B. Vasquez Date: 2014-01-25 14:45:09 Subject: [PATCH] add default value for select_figure_format's quality parameter --- diff --git a/IPython/core/pylabtools.py b/IPython/core/pylabtools.py index 70e0bac..a8779d2 100644 --- a/IPython/core/pylabtools.py +++ b/IPython/core/pylabtools.py @@ -165,7 +165,7 @@ def mpl_runner(safe_execfile): return mpl_execfile -def select_figure_format(shell, fmt, quality): +def select_figure_format(shell, fmt, quality=90): """Select figure format for inline backend, can be 'png', 'retina', 'jpg', or 'svg'. Using this method ensures only one figure format is active at a time.