diff --git a/pyproject.toml b/pyproject.toml index 3b29282..e956a8b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,7 @@ test = [ "nbval", "notebook", "pytest", + "matplotlib" ] [project.urls] diff --git a/tests/notebooks/config_InlineBackend.ipynb b/tests/notebooks/config_InlineBackend.ipynb index fd32837..968c42f 100644 --- a/tests/notebooks/config_InlineBackend.ipynb +++ b/tests/notebooks/config_InlineBackend.ipynb @@ -43,38 +43,37 @@ "----------------------------------------\n", "InlineBackend.close_figures=\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=\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=...\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==...\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==...\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" ] }