config_inline_backend¶
- config_inline_backend(fmt=None)[source]¶
Set up the ipython inline backend display format and ensure that inline figures always look the same as saved figures. This runs the following ipython magic commands:
%config InlineBackend.figure_formats = rc['inlinefmt'] %config InlineBackend.rc = {} # never override rc settings %config InlineBackend.close_figures = True # cells start with no active figures %config InlineBackend.print_figure_kwargs = {'bbox_inches': None}
When the inline backend is inactive or unavailable, this has no effect. This function is called when you modify the
rc.inlinefmtproperty.- Parameters
fmt (
stror sequence, optional) – The inline backend file format(s). Default isrc.inlinefmt='retina'. Valid formats include'jpg','png','svg','pdf', and'retina'.
See also