+ source /opt/miniconda3/bin/activate
++ _CONDA_ROOT=/opt/miniconda3
++ . /opt/miniconda3/etc/profile.d/conda.sh
+++ export CONDA_EXE=/opt/miniconda3/bin/conda
+++ CONDA_EXE=/opt/miniconda3/bin/conda
+++ export _CE_M=
+++ _CE_M=
+++ export _CE_CONDA=
+++ _CE_CONDA=
+++ export CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
+++ CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
+++ '[' -z '' ']'
+++ export CONDA_SHLVL=0
+++ CONDA_SHLVL=0
+++ '[' -n '' ']'
+++++ dirname /opt/miniconda3/bin/conda
++++ dirname /opt/miniconda3/bin
+++ PATH=/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+++ export PATH
+++ '[' -z '' ']'
+++ PS1=
++ conda activate
++ local cmd=activate
++ case "$cmd" in
++ __conda_activate activate
++ '[' -n '' ']'
++ local ask_conda
+++ PS1=
+++ __conda_exe shell.posix activate
+++ /opt/miniconda3/bin/conda shell.posix activate
++ ask_conda='PS1='\''(base) '\''
export PATH='\''/opt/miniconda3/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\''
export CONDA_PREFIX='\''/opt/miniconda3'\''
export CONDA_SHLVL='\''1'\''
export CONDA_DEFAULT_ENV='\''base'\''
export CONDA_PROMPT_MODIFIER='\''(base) '\''
export CONDA_EXE='\''/opt/miniconda3/bin/conda'\''
export _CE_M='\'''\''
export _CE_CONDA='\'''\''
export CONDA_PYTHON_EXE='\''/opt/miniconda3/bin/python'\'''
++ eval 'PS1='\''(base) '\''
export PATH='\''/opt/miniconda3/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\''
export CONDA_PREFIX='\''/opt/miniconda3'\''
export CONDA_SHLVL='\''1'\''
export CONDA_DEFAULT_ENV='\''base'\''
export CONDA_PROMPT_MODIFIER='\''(base) '\''
export CONDA_EXE='\''/opt/miniconda3/bin/conda'\''
export _CE_M='\'''\''
export _CE_CONDA='\'''\''
export CONDA_PYTHON_EXE='\''/opt/miniconda3/bin/python'\'''
+++ PS1='(base) '
+++ export PATH=/opt/miniconda3/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+++ PATH=/opt/miniconda3/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+++ export CONDA_PREFIX=/opt/miniconda3
+++ CONDA_PREFIX=/opt/miniconda3
+++ export CONDA_SHLVL=1
+++ CONDA_SHLVL=1
+++ export CONDA_DEFAULT_ENV=base
+++ CONDA_DEFAULT_ENV=base
+++ export 'CONDA_PROMPT_MODIFIER=(base) '
+++ CONDA_PROMPT_MODIFIER='(base) '
+++ export CONDA_EXE=/opt/miniconda3/bin/conda
+++ CONDA_EXE=/opt/miniconda3/bin/conda
+++ export _CE_M=
+++ _CE_M=
+++ export _CE_CONDA=
+++ _CE_CONDA=
+++ export CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
+++ CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
++ __conda_hashr
++ '[' -n '' ']'
++ '[' -n '' ']'
++ hash -r
+ conda activate testbed
+ local cmd=activate
+ case "$cmd" in
+ __conda_activate activate testbed
+ '[' -n '' ']'
+ local ask_conda
++ PS1='(base) '
++ __conda_exe shell.posix activate testbed
++ /opt/miniconda3/bin/conda shell.posix activate testbed
+ ask_conda='PS1='\''(testbed) '\''
export PATH='\''/opt/miniconda3/envs/testbed/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\''
export CONDA_PREFIX='\''/opt/miniconda3/envs/testbed'\''
export CONDA_SHLVL='\''2'\''
export CONDA_DEFAULT_ENV='\''testbed'\''
export CONDA_PROMPT_MODIFIER='\''(testbed) '\''
export CONDA_PREFIX_1='\''/opt/miniconda3'\''
export CONDA_EXE='\''/opt/miniconda3/bin/conda'\''
export _CE_M='\'''\''
export _CE_CONDA='\'''\''
export CONDA_PYTHON_EXE='\''/opt/miniconda3/bin/python'\''
. "/opt/miniconda3/envs/testbed/etc/conda/activate.d/libglib_activate.sh"
. "/opt/miniconda3/envs/testbed/etc/conda/activate.d/libxml2_activate.sh"'
+ eval 'PS1='\''(testbed) '\''
export PATH='\''/opt/miniconda3/envs/testbed/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\''
export CONDA_PREFIX='\''/opt/miniconda3/envs/testbed'\''
export CONDA_SHLVL='\''2'\''
export CONDA_DEFAULT_ENV='\''testbed'\''
export CONDA_PROMPT_MODIFIER='\''(testbed) '\''
export CONDA_PREFIX_1='\''/opt/miniconda3'\''
export CONDA_EXE='\''/opt/miniconda3/bin/conda'\''
export _CE_M='\'''\''
export _CE_CONDA='\'''\''
export CONDA_PYTHON_EXE='\''/opt/miniconda3/bin/python'\''
. "/opt/miniconda3/envs/testbed/etc/conda/activate.d/libglib_activate.sh"
. "/opt/miniconda3/envs/testbed/etc/conda/activate.d/libxml2_activate.sh"'
++ PS1='(testbed) '
++ export PATH=/opt/miniconda3/envs/testbed/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ PATH=/opt/miniconda3/envs/testbed/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ export CONDA_PREFIX=/opt/miniconda3/envs/testbed
++ CONDA_PREFIX=/opt/miniconda3/envs/testbed
++ export CONDA_SHLVL=2
++ CONDA_SHLVL=2
++ export CONDA_DEFAULT_ENV=testbed
++ CONDA_DEFAULT_ENV=testbed
++ export 'CONDA_PROMPT_MODIFIER=(testbed) '
++ CONDA_PROMPT_MODIFIER='(testbed) '
++ export CONDA_PREFIX_1=/opt/miniconda3
++ CONDA_PREFIX_1=/opt/miniconda3
++ export CONDA_EXE=/opt/miniconda3/bin/conda
++ CONDA_EXE=/opt/miniconda3/bin/conda
++ export _CE_M=
++ _CE_M=
++ export _CE_CONDA=
++ _CE_CONDA=
++ export CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
++ CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
++ . /opt/miniconda3/envs/testbed/etc/conda/activate.d/libglib_activate.sh
+++ export GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=
+++ GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=
+++ export GSETTINGS_SCHEMA_DIR=/opt/miniconda3/envs/testbed/share/glib-2.0/schemas
+++ GSETTINGS_SCHEMA_DIR=/opt/miniconda3/envs/testbed/share/glib-2.0/schemas
++ . /opt/miniconda3/envs/testbed/etc/conda/activate.d/libxml2_activate.sh
+++ test -n ''
+++ xml_catalog_files_libxml2=
+++ XML_CATALOG_FILES=
+++ conda_catalog_files=
+++ ifs_libxml2=' 	
'
+++ IFS=' '
+++ rem=/opt/miniconda3/envs/testbed
+++ for pre in ${rem}
+++ test '' = /opt/miniconda3/envs/testbed
+++ conda_catalog_files=/opt/miniconda3/envs/testbed
+++ rem=
+++ IFS=' 	
'
+++ conda_catalog_files='file:///opt/miniconda3/envs/testbed/etc/xml/catalog file:///etc/xml/catalog'
+++ export 'XML_CATALOG_FILES=file:///opt/miniconda3/envs/testbed/etc/xml/catalog file:///etc/xml/catalog'
+++ XML_CATALOG_FILES='file:///opt/miniconda3/envs/testbed/etc/xml/catalog file:///etc/xml/catalog'
+++ unset conda_catalog_files ifs_libxml2 rem
+ __conda_hashr
+ '[' -n '' ']'
+ '[' -n '' ']'
+ hash -r
+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git status
On branch main
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   lib/matplotlib/legend.py

no changes added to commit (use "git add" and/or "git commit -a")
+ git show
commit 5c4595267ccd3daf78f5fd05693b7ecbcd575c1e
Merge: a24ee3c86e ad94907011
Author: Oscar Gustafsson <oscar.gustafsson@gmail.com>
Date:   Thu Sep 15 22:00:04 2022 +0200

    Merge pull request #23896 from anntzer/uof
    
    Inline AnchoredOffsetBox._update_offset_func.

+ git -c core.fileMode=false diff 5c4595267ccd3daf78f5fd05693b7ecbcd575c1e
diff --git a/lib/matplotlib/legend.py b/lib/matplotlib/legend.py
index 9e5b903d59..5920bfb90e 100644
--- a/lib/matplotlib/legend.py
+++ b/lib/matplotlib/legend.py
@@ -286,6 +286,9 @@ handler_map : dict or None
     The custom dictionary mapping instances or types to a legend
     handler. This *handler_map* updates the default handler map
     found at `matplotlib.legend.Legend.get_legend_handler_map`.
+
+draggable : bool, default: False
+    Whether the legend can be dragged with the mouse.
 """)
 
 
@@ -342,7 +345,8 @@ class Legend(Artist):
         title_fontproperties=None,  # properties for the legend title
         alignment="center",       # control the alignment within the legend box
         *,
-        ncol=1  # synonym for ncols (backward compatibility)
+        ncol=1,  # synonym for ncols (backward compatibility)
+        draggable=False  # whether the legend can be dragged with the mouse
     ):
         """
         Parameters
@@ -538,6 +542,7 @@ class Legend(Artist):
 
         self.set_title(title, prop=title_prop_fp)
         self._draggable = None
+        self.set_draggable(state=draggable)
 
         # set the text color
 
+ source /opt/miniconda3/bin/activate
++ _CONDA_ROOT=/opt/miniconda3
++ . /opt/miniconda3/etc/profile.d/conda.sh
+++ export CONDA_EXE=/opt/miniconda3/bin/conda
+++ CONDA_EXE=/opt/miniconda3/bin/conda
+++ export _CE_M=
+++ _CE_M=
+++ export _CE_CONDA=
+++ _CE_CONDA=
+++ export CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
+++ CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
+++ '[' -z x ']'
++ conda activate
++ local cmd=activate
++ case "$cmd" in
++ __conda_activate activate
++ '[' -n '' ']'
++ local ask_conda
+++ PS1='(testbed) '
+++ __conda_exe shell.posix activate
+++ /opt/miniconda3/bin/conda shell.posix activate
++ ask_conda='. "/opt/miniconda3/envs/testbed/etc/conda/deactivate.d/libxml2_deactivate.sh"
. "/opt/miniconda3/envs/testbed/etc/conda/deactivate.d/libglib_deactivate.sh"
PS1='\''(base) '\''
export PATH='\''/opt/miniconda3/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\''
export CONDA_PREFIX='\''/opt/miniconda3'\''
export CONDA_SHLVL='\''3'\''
export CONDA_DEFAULT_ENV='\''base'\''
export CONDA_PROMPT_MODIFIER='\''(base) '\''
export CONDA_PREFIX_2='\''/opt/miniconda3/envs/testbed'\''
export CONDA_EXE='\''/opt/miniconda3/bin/conda'\''
export _CE_M='\'''\''
export _CE_CONDA='\'''\''
export CONDA_PYTHON_EXE='\''/opt/miniconda3/bin/python'\'''
++ eval '. "/opt/miniconda3/envs/testbed/etc/conda/deactivate.d/libxml2_deactivate.sh"
. "/opt/miniconda3/envs/testbed/etc/conda/deactivate.d/libglib_deactivate.sh"
PS1='\''(base) '\''
export PATH='\''/opt/miniconda3/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\''
export CONDA_PREFIX='\''/opt/miniconda3'\''
export CONDA_SHLVL='\''3'\''
export CONDA_DEFAULT_ENV='\''base'\''
export CONDA_PROMPT_MODIFIER='\''(base) '\''
export CONDA_PREFIX_2='\''/opt/miniconda3/envs/testbed'\''
export CONDA_EXE='\''/opt/miniconda3/bin/conda'\''
export _CE_M='\'''\''
export _CE_CONDA='\'''\''
export CONDA_PYTHON_EXE='\''/opt/miniconda3/bin/python'\'''
+++ . /opt/miniconda3/envs/testbed/etc/conda/deactivate.d/libxml2_deactivate.sh
++++ test -n ''
++++ unset XML_CATALOG_FILES
++++ unset xml_catalog_files_libxml2
+++ . /opt/miniconda3/envs/testbed/etc/conda/deactivate.d/libglib_deactivate.sh
++++ export GSETTINGS_SCHEMA_DIR=
++++ GSETTINGS_SCHEMA_DIR=
++++ unset GSETTINGS_SCHEMA_DIR_CONDA_BACKUP
++++ '[' -z ']'
++++ unset GSETTINGS_SCHEMA_DIR
+++ PS1='(base) '
+++ export PATH=/opt/miniconda3/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+++ PATH=/opt/miniconda3/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+++ export CONDA_PREFIX=/opt/miniconda3
+++ CONDA_PREFIX=/opt/miniconda3
+++ export CONDA_SHLVL=3
+++ CONDA_SHLVL=3
+++ export CONDA_DEFAULT_ENV=base
+++ CONDA_DEFAULT_ENV=base
+++ export 'CONDA_PROMPT_MODIFIER=(base) '
+++ CONDA_PROMPT_MODIFIER='(base) '
+++ export CONDA_PREFIX_2=/opt/miniconda3/envs/testbed
+++ CONDA_PREFIX_2=/opt/miniconda3/envs/testbed
+++ export CONDA_EXE=/opt/miniconda3/bin/conda
+++ CONDA_EXE=/opt/miniconda3/bin/conda
+++ export _CE_M=
+++ _CE_M=
+++ export _CE_CONDA=
+++ _CE_CONDA=
+++ export CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
+++ CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
++ __conda_hashr
++ '[' -n '' ']'
++ '[' -n '' ']'
++ hash -r
+ conda activate testbed
+ local cmd=activate
+ case "$cmd" in
+ __conda_activate activate testbed
+ '[' -n '' ']'
+ local ask_conda
++ PS1='(base) '
++ __conda_exe shell.posix activate testbed
++ /opt/miniconda3/bin/conda shell.posix activate testbed
+ ask_conda='PS1='\''(testbed) '\''
export PATH='\''/opt/miniconda3/envs/testbed/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\''
export CONDA_PREFIX='\''/opt/miniconda3/envs/testbed'\''
export CONDA_SHLVL='\''4'\''
export CONDA_DEFAULT_ENV='\''testbed'\''
export CONDA_PROMPT_MODIFIER='\''(testbed) '\''
export CONDA_PREFIX_3='\''/opt/miniconda3'\''
export CONDA_EXE='\''/opt/miniconda3/bin/conda'\''
export _CE_M='\'''\''
export _CE_CONDA='\'''\''
export CONDA_PYTHON_EXE='\''/opt/miniconda3/bin/python'\''
. "/opt/miniconda3/envs/testbed/etc/conda/activate.d/libglib_activate.sh"
. "/opt/miniconda3/envs/testbed/etc/conda/activate.d/libxml2_activate.sh"'
+ eval 'PS1='\''(testbed) '\''
export PATH='\''/opt/miniconda3/envs/testbed/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'\''
export CONDA_PREFIX='\''/opt/miniconda3/envs/testbed'\''
export CONDA_SHLVL='\''4'\''
export CONDA_DEFAULT_ENV='\''testbed'\''
export CONDA_PROMPT_MODIFIER='\''(testbed) '\''
export CONDA_PREFIX_3='\''/opt/miniconda3'\''
export CONDA_EXE='\''/opt/miniconda3/bin/conda'\''
export _CE_M='\'''\''
export _CE_CONDA='\'''\''
export CONDA_PYTHON_EXE='\''/opt/miniconda3/bin/python'\''
. "/opt/miniconda3/envs/testbed/etc/conda/activate.d/libglib_activate.sh"
. "/opt/miniconda3/envs/testbed/etc/conda/activate.d/libxml2_activate.sh"'
++ PS1='(testbed) '
++ export PATH=/opt/miniconda3/envs/testbed/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ PATH=/opt/miniconda3/envs/testbed/bin:/opt/miniconda3/condabin:/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ export CONDA_PREFIX=/opt/miniconda3/envs/testbed
++ CONDA_PREFIX=/opt/miniconda3/envs/testbed
++ export CONDA_SHLVL=4
++ CONDA_SHLVL=4
++ export CONDA_DEFAULT_ENV=testbed
++ CONDA_DEFAULT_ENV=testbed
++ export 'CONDA_PROMPT_MODIFIER=(testbed) '
++ CONDA_PROMPT_MODIFIER='(testbed) '
++ export CONDA_PREFIX_3=/opt/miniconda3
++ CONDA_PREFIX_3=/opt/miniconda3
++ export CONDA_EXE=/opt/miniconda3/bin/conda
++ CONDA_EXE=/opt/miniconda3/bin/conda
++ export _CE_M=
++ _CE_M=
++ export _CE_CONDA=
++ _CE_CONDA=
++ export CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
++ CONDA_PYTHON_EXE=/opt/miniconda3/bin/python
++ . /opt/miniconda3/envs/testbed/etc/conda/activate.d/libglib_activate.sh
+++ export GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=
+++ GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=
+++ export GSETTINGS_SCHEMA_DIR=/opt/miniconda3/envs/testbed/share/glib-2.0/schemas
+++ GSETTINGS_SCHEMA_DIR=/opt/miniconda3/envs/testbed/share/glib-2.0/schemas
++ . /opt/miniconda3/envs/testbed/etc/conda/activate.d/libxml2_activate.sh
+++ test -n ''
+++ xml_catalog_files_libxml2=
+++ XML_CATALOG_FILES=
+++ conda_catalog_files=
+++ ifs_libxml2=' 	
'
+++ IFS=' '
+++ rem=/opt/miniconda3/envs/testbed
+++ for pre in ${rem}
+++ test '' = /opt/miniconda3/envs/testbed
+++ conda_catalog_files=/opt/miniconda3/envs/testbed
+++ rem=
+++ IFS=' 	
'
+++ conda_catalog_files='file:///opt/miniconda3/envs/testbed/etc/xml/catalog file:///etc/xml/catalog'
+++ export 'XML_CATALOG_FILES=file:///opt/miniconda3/envs/testbed/etc/xml/catalog file:///etc/xml/catalog'
+++ XML_CATALOG_FILES='file:///opt/miniconda3/envs/testbed/etc/xml/catalog file:///etc/xml/catalog'
+++ unset conda_catalog_files ifs_libxml2 rem
+ __conda_hashr
+ '[' -n '' ']'
+ '[' -n '' ']'
+ hash -r
+ python -m pip install -e .
Obtaining file:///testbed
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: contourpy>=1.0.1 in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (1.1.0)
Requirement already satisfied: cycler>=0.10 in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (4.42.1)
Requirement already satisfied: kiwisolver>=1.0.1 in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (1.4.5)
Requirement already satisfied: numpy>=1.19 in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (1.25.2)
Requirement already satisfied: packaging>=20.0 in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (23.1)
Requirement already satisfied: pillow>=6.2.0 in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (10.0.0)
Requirement already satisfied: pyparsing>=2.2.1 in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (2.8.2)
Requirement already satisfied: setuptools_scm>=7 in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (7.1.0)
Requirement already satisfied: six>=1.5 in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from python-dateutil>=2.7->matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (1.16.0)
Requirement already satisfied: setuptools in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from setuptools_scm>=7->matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (68.1.2)
Requirement already satisfied: typing-extensions in /opt/miniconda3/envs/testbed/lib/python3.11/site-packages (from setuptools_scm>=7->matplotlib==3.6.0.dev3200+g5c4595267c.d20260611) (4.7.1)
Installing collected packages: matplotlib
  Attempting uninstall: matplotlib
    Found existing installation: matplotlib 3.6.0.dev3200+g5c4595267c
    Uninstalling matplotlib-3.6.0.dev3200+g5c4595267c:
      Successfully uninstalled matplotlib-3.6.0.dev3200+g5c4595267c
  Running setup.py develop for matplotlib
  DEPRECATION: Legacy editable install of matplotlib==3.6.0.dev3200+g5c4595267c.d20260611 from file:///testbed (setup.py develop) is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457
Successfully installed matplotlib-3.6.0.dev3200+g5c4595267c.d20260611
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ git checkout 5c4595267ccd3daf78f5fd05693b7ecbcd575c1e lib/matplotlib/tests/test_legend.py
Updated 0 paths from cd3128f993
+ git apply -v -
Checking patch lib/matplotlib/tests/test_legend.py...
Applied patch lib/matplotlib/tests/test_legend.py cleanly.
+ : '>>>>> Start Test Output'
+ pytest -rA lib/matplotlib/tests/test_legend.py
============================= test session starts ==============================
platform linux -- Python 3.11.11, pytest-8.3.4, pluggy-1.5.0
rootdir: /testbed
configfile: pytest.ini
plugins: cov-6.0.0, rerunfailures-15.0, xdist-3.6.1, timeout-2.3.1
collected 114 items

lib/matplotlib/tests/test_legend.py ...s..s..s..s.......s..s..s..s..s... [ 31%]
........................................................................ [ 94%]
.....s                                                                   [100%]

==================================== PASSES ====================================
_________________________ test_text_nohandler_warning __________________________
------------------------------ Captured log call -------------------------------
WARNING  matplotlib.legend:legend.py:1241 No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
___________________________ test_legend_title_empty ____________________________
------------------------------ Captured log call -------------------------------
WARNING  matplotlib.legend:legend.py:1241 No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
_____________________ test_legend_title_fontprop_fontsize ______________________
------------------------------ Captured log call -------------------------------
WARNING  matplotlib.legend:legend.py:1241 No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
WARNING  matplotlib.legend:legend.py:1241 No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
WARNING  matplotlib.legend:legend.py:1241 No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
WARNING  matplotlib.legend:legend.py:1241 No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
WARNING  matplotlib.legend:legend.py:1241 No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
WARNING  matplotlib.legend:legend.py:1241 No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
WARNING  matplotlib.legend:legend.py:1241 No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
WARNING  matplotlib.legend:legend.py:1241 No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
____________________________ test_get_set_draggable ____________________________
------------------------------ Captured log call -------------------------------
WARNING  matplotlib.legend:legend.py:1241 No artists with labels found to put in legend.  Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
=========================== short test summary info ============================
PASSED lib/matplotlib/tests/test_legend.py::test_legend_ordereddict
PASSED lib/matplotlib/tests/test_legend.py::test_legend_auto1[png]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_auto1[pdf]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_auto2[png]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_auto2[pdf]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_auto3[png]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_auto3[pdf]
PASSED lib/matplotlib/tests/test_legend.py::test_various_labels[png]
PASSED lib/matplotlib/tests/test_legend.py::test_various_labels[pdf]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_label_with_leading_underscore
PASSED lib/matplotlib/tests/test_legend.py::test_labels_first[png]
PASSED lib/matplotlib/tests/test_legend.py::test_multiple_keys[png]
PASSED lib/matplotlib/tests/test_legend.py::test_alpha_rgba[png]
PASSED lib/matplotlib/tests/test_legend.py::test_alpha_rcparam[png]
PASSED lib/matplotlib/tests/test_legend.py::test_fancy[png]
PASSED lib/matplotlib/tests/test_legend.py::test_fancy[pdf]
PASSED lib/matplotlib/tests/test_legend.py::test_framealpha[png]
PASSED lib/matplotlib/tests/test_legend.py::test_framealpha[pdf]
PASSED lib/matplotlib/tests/test_legend.py::test_rc[png]
PASSED lib/matplotlib/tests/test_legend.py::test_rc[pdf]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_expand[png]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_expand[pdf]
PASSED lib/matplotlib/tests/test_legend.py::test_hatching[png]
PASSED lib/matplotlib/tests/test_legend.py::test_hatching[pdf]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_remove
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_no_args
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_positional_handles_labels
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_positional_handles_only
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_positional_labels_only
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_three_args
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_handler_map
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_kwargs_handles_only
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_kwargs_labels_only
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_legend_kwargs_handles_labels
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_warn_mixed_args_and_kwargs
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFunction::test_parasite
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_handle_label
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_no_args
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_label_arg
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_label_three_args
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_label_three_args_pluskw
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_legend_kw_args
PASSED lib/matplotlib/tests/test_legend.py::TestLegendFigureFunction::test_warn_args_kwargs
PASSED lib/matplotlib/tests/test_legend.py::test_legend_stackplot[png]
PASSED lib/matplotlib/tests/test_legend.py::test_cross_figure_patch_legend
PASSED lib/matplotlib/tests/test_legend.py::test_nanscatter
PASSED lib/matplotlib/tests/test_legend.py::test_legend_repeatcheckok
PASSED lib/matplotlib/tests/test_legend.py::test_not_covering_scatter[png]
PASSED lib/matplotlib/tests/test_legend.py::test_not_covering_scatter_transform[png]
PASSED lib/matplotlib/tests/test_legend.py::test_linecollection_scaled_dashes
PASSED lib/matplotlib/tests/test_legend.py::test_handler_numpoints
PASSED lib/matplotlib/tests/test_legend.py::test_text_nohandler_warning
PASSED lib/matplotlib/tests/test_legend.py::test_empty_bar_chart_with_legend
PASSED lib/matplotlib/tests/test_legend.py::test_shadow_framealpha
PASSED lib/matplotlib/tests/test_legend.py::test_legend_title_empty
PASSED lib/matplotlib/tests/test_legend.py::test_legend_proper_window_extent
PASSED lib/matplotlib/tests/test_legend.py::test_window_extent_cached_renderer
PASSED lib/matplotlib/tests/test_legend.py::test_legend_title_fontprop_fontsize
PASSED lib/matplotlib/tests/test_legend.py::test_legend_alignment[center]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_alignment[left]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_alignment[right]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_set_alignment[center]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_set_alignment[left]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_set_alignment[right]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_single[red]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_single[none]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_single[color2]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_list
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_linecolor
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_markeredgecolor
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_markerfacecolor
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_single[red]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_single[none]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_single[color2]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_linecolor
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_markeredgecolor
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_markeredgecolor_short
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_markerfacecolor
PASSED lib/matplotlib/tests/test_legend.py::test_legend_labelcolor_rcparam_markerfacecolor_short
PASSED lib/matplotlib/tests/test_legend.py::test_get_set_draggable
PASSED lib/matplotlib/tests/test_legend.py::test_legend_draggable[True]
PASSED lib/matplotlib/tests/test_legend.py::test_legend_draggable[False]
PASSED lib/matplotlib/tests/test_legend.py::test_alpha_handles
PASSED lib/matplotlib/tests/test_legend.py::test_usetex_no_warn
PASSED lib/matplotlib/tests/test_legend.py::test_warn_big_data_best_loc
PASSED lib/matplotlib/tests/test_legend.py::test_no_warn_big_data_when_loc_specified
PASSED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_multiple_label[label_array0]
PASSED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_multiple_label[label_array1]
PASSED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_multiple_label[label_array2]
PASSED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_single_label[one]
PASSED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_single_label[1]
PASSED lib/matplotlib/tests/test_legend.py::test_plot_multiple_input_single_label[int]
PASSED lib/matplotlib/tests/test_legend.py::test_plot_single_input_multiple_label[label_array0]
PASSED lib/matplotlib/tests/test_legend.py::test_plot_single_input_multiple_label[label_array1]
PASSED lib/matplotlib/tests/test_legend.py::test_plot_single_input_multiple_label[label_array2]
PASSED lib/matplotlib/tests/test_legend.py::test_plot_multiple_label_incorrect_length_exception
PASSED lib/matplotlib/tests/test_legend.py::test_legend_face_edgecolor
PASSED lib/matplotlib/tests/test_legend.py::test_legend_text_axes
PASSED lib/matplotlib/tests/test_legend.py::test_handlerline2d
PASSED lib/matplotlib/tests/test_legend.py::test_subfigure_legend
PASSED lib/matplotlib/tests/test_legend.py::test_setting_alpha_keeps_polycollection_color
PASSED lib/matplotlib/tests/test_legend.py::test_legend_markers_from_line2d
PASSED lib/matplotlib/tests/test_legend.py::test_ncol_ncols[png]
PASSED lib/matplotlib/tests/test_legend.py::test_ncol_ncols[pdf]
SKIPPED [9] ../opt/miniconda3/envs/testbed/lib/python3.11/contextlib.py:81: Cannot compare svg files because Inkscape is not installed
SKIPPED [1] lib/matplotlib/testing/compare.py:285: Don't know how to convert .svg files to png
================= 104 passed, 10 skipped in 181.60s (0:03:01) ==================
+ : '>>>>> End Test Output'
+ git checkout 5c4595267ccd3daf78f5fd05693b7ecbcd575c1e lib/matplotlib/tests/test_legend.py
Updated 1 path from cd3128f993
