forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up text drawer compression issues (Qiskit#8588)
* Add barrier labels to mpl and text drawers * Release note * Add import * Lint * Add barrier labels to latex drawer * Remove utils changes * Cleanup * Fix merge conflict * Lint * Remove label property for barriers and snapshots and increase mpl label font size * First steps * Fix vert spacing with text between lines * Fix low compress connections and change tests * Add tests * Additonal test * Lint * Add back test * Release note * Fix typo in release note Co-authored-by: Jake Lishman <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9ddc97d
commit aca01eb
Showing
3 changed files
with
134 additions
and
8 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
9 changes: 9 additions & 0 deletions
9
releasenotes/notes/fix-text-drawer-compression-a80a5636957e8eec.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,9 @@ | ||
--- | ||
fixes: | ||
- | | ||
There were two bugs in the ``text`` circuit drawer that were fixed. | ||
These appeared when ``vertical_compression`` was set to ``medium``, | ||
which is the default. The first would sometimes cause text to overwrite | ||
other text or gates, and the second would sometimes cause the connections | ||
between a gate and its controls to break. | ||
See `#8588 <https://github.com/Qiskit/qiskit-terra/issues/8588>`__. |
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