Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ test = [
"nbval",
"notebook",
"pytest",
"matplotlib"
]

[project.urls]
Expand Down
45 changes: 22 additions & 23 deletions tests/notebooks/config_InlineBackend.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,38 +43,37 @@
"----------------------------------------\n",
"InlineBackend.close_figures=<Bool>\n",
" Close all figures at the end of each cell.\n",
" When True, ensures that each cell starts with no active figures, but it\n",
" also means that one must keep track of references in order to edit or\n",
" redraw figures in subsequent cells. This mode is ideal for the notebook,\n",
" where residual plots from other cells might be surprising.\n",
" When False, one must call figure() to create new figures. This means\n",
" that gcf() and getfigs() can reference figures created in other cells,\n",
" and the active figure can continue to be edited with pylab/pyplot\n",
" methods that reference the current active figure. This mode facilitates\n",
" iterative editing of figures, and behaves most consistently with\n",
" other matplotlib backends, but figure barriers between cells must\n",
" be explicit.\n",
"\n",
" When True, ensures that each cell starts with no active figures, but it also\n",
" means that one must keep track of references in order to edit or redraw\n",
" figures in subsequent cells. This mode is ideal for the notebook, where\n",
" residual plots from other cells might be surprising.\n",
"\n",
" When False, one must call figure() to create new figures. This means that\n",
" gcf() and getfigs() can reference figures created in other cells, and the\n",
" active figure can continue to be edited with pylab/pyplot methods that\n",
" reference the current active figure. This mode facilitates iterative editing\n",
" of figures, and behaves most consistently with other matplotlib backends,\n",
" but figure barriers between cells must be explicit.\n",
" Current: True\n",
"InlineBackend.figure_format=<Unicode>\n",
" The figure format to enable (deprecated\n",
" use `figure_formats` instead)\n",
" The figure format to enable (deprecated use `figure_formats` instead)\n",
" Current: ''\n",
"InlineBackend.figure_formats=<set-item-1>...\n",
" A set of figure formats to enable: 'png',\n",
" 'retina', 'jpeg', 'svg', 'pdf'.\n",
" A set of figure formats to enable: 'png', 'retina', 'jpeg', 'svg', 'pdf'.\n",
" Current: {'jpeg'}\n",
"InlineBackend.print_figure_kwargs=<key-1>=<value-1>...\n",
" Extra kwargs to be passed to fig.canvas.print_figure.\n",
" Logical examples include: bbox_inches, pil_kwargs, etc. In addition,\n",
" see the docstrings of `set_matplotlib_formats`.\n",
"\n",
" Logical examples include: bbox_inches, pil_kwargs, etc. In addition, see the\n",
" docstrings of `set_matplotlib_formats`.\n",
" Current: {'bbox_inches': None, 'pil_kwargs': {'quality': 90, 'optimize': True}}\n",
"InlineBackend.rc=<key-1>=<value-1>...\n",
" Dict to manage matplotlib configuration defaults in the inline\n",
" backend. As of v0.1.4 IPython/Jupyter do not override defaults out of\n",
" the box, but third-party tools may use it to manage rc data. To change\n",
" personal defaults for matplotlib, use matplotlib's configuration\n",
" tools, or customize this class in your `ipython_config.py` file for\n",
" IPython/Jupyter-specific usage.\n",
" Dict to manage matplotlib configuration defaults in the inline backend. As\n",
" of v0.1.4 IPython/Jupyter do not override defaults out of the box, but\n",
" third-party tools may use it to manage rc data. To change personal defaults\n",
" for matplotlib, use matplotlib's configuration tools, or customize this\n",
" class in your `ipython_config.py` file for IPython/Jupyter-specific usage.\n",
" Current: {}\n"
]
}
Expand Down
Loading