From c88ebca95a5ee2eaca3bcdffd99a7ebdf00dc8a0 Mon Sep 17 00:00:00 2001 From: Edwin Navarro Date: Wed, 26 Oct 2022 15:51:28 -0700 Subject: [PATCH] Fix manifest entry for mpl styles (#9004) * Fix manifest entry and reno * Improve release note Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit de35b90ddb2f753066070c75a512291087a10968) --- MANIFEST.in | 2 +- .../notes/fix-styles-manifest-b8c852a07fb86966.yaml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/fix-styles-manifest-b8c852a07fb86966.yaml diff --git a/MANIFEST.in b/MANIFEST.in index 719d4fe5d9db..9d3fae282ed0 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,7 +6,7 @@ include qiskit/schemas/examples/*.json include qiskit/VERSION.txt recursive-include qiskit *.pyx recursive-include qiskit *.pxd -include qiskit/visualization/styles/*.json +include qiskit/visualization/circuit/styles/*.json recursive-include qiskit/providers/fake_provider/backends *.json # Include the tests files. diff --git a/releasenotes/notes/fix-styles-manifest-b8c852a07fb86966.yaml b/releasenotes/notes/fix-styles-manifest-b8c852a07fb86966.yaml new file mode 100644 index 000000000000..885d9dd09bde --- /dev/null +++ b/releasenotes/notes/fix-styles-manifest-b8c852a07fb86966.yaml @@ -0,0 +1,10 @@ +--- +fixes: + - | + Fixed an issue in the :func:`~.circuit_drawer` function and + :func:`.QuantumCircuit.draw` method where the only built-in style + for the ``mpl`` output that was usable was ``default``. If another + built-in style, such as ``iqx``, were used then a warning about + the style not being found would be emitted and the drawer would + fall back to use the ``default`` style. + Fixed `#8991 `__