Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix manifest entry for mpl styles #9004

Merged
merged 3 commits into from
Oct 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 10 additions & 0 deletions releasenotes/notes/fix-styles-manifest-b8c852a07fb86966.yaml
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/Qiskit/qiskit-terra/issues/8991>`__