-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing bug in
qcstyle
that modified custom style dict (#11874)
* fixed qcstyle bug that modified style dict, added test * black * ensure that the keys in nested_attrs are not overwritten again * release notes * Update releasenotes/notes/qcstyle-bug-custom-style-dicts-22deab6c602ccd6a.yaml --------- Co-authored-by: Julien Gacon <gaconju@gmail.com> (cherry picked from commit d21127a)
- Loading branch information
1 parent
61a56ab
commit 7efaf15
Showing
3 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/qcstyle-bug-custom-style-dicts-22deab6c602ccd6a.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed bug in :meth:`.QuantumCircuit.draw` that was causing custom style dictionaries | ||
for the Matplotlib drawer to be modified upon execution. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters