From ab9e10a37ddb6adceb22fddd92c7466ce54f71b8 Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Wed, 7 Feb 2024 22:27:51 -0800 Subject: [PATCH] Suppress matplotlib warnings on non-interactive use of show() (#6449) This is an intended behavior in tests. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 1c57fe299b6..35a7af04740 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,6 +7,7 @@ skip-magic-trailing-comma = true [tool.pytest.ini_options] filterwarnings = [ "ignore:Matplotlib is currently using agg:UserWarning", + "ignore:FigureCanvasAgg is non-interactive.*cannot be shown:UserWarning", ] markers = [ "rigetti_integration: tests that connect to Quil compiler or QVM.",