We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--mpl-baseline-relative
1 parent 2d035e1 commit ab4bd47Copy full SHA for ab4bd47
README.rst
@@ -188,8 +188,11 @@ running tests by running ``pytest`` with::
188
189
pytest --mpl --mpl-baseline-path=baseline_images
190
191
-This directory will be interpreted as being relative to where the tests
192
-are run. In addition, if both this option and the ``baseline_dir``
+This directory will be interpreted as being relative to where pytest
+is run. However, if the ``--mpl-baseline-relative`` option is also
193
+included, this directory will be interpreted as being relative to
194
+the current test directory.
195
+In addition, if both this option and the ``baseline_dir``
196
option in the ``mpl_image_compare`` decorator are used, the one in the
197
decorator takes precedence.
198
0 commit comments