-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Clean up text drawer compression issues #8588
Merged
+134
−8
Merged
Changes from 25 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
b7a3b79
Add barrier labels to mpl and text drawers
enavarro51 096c01a
Release note
enavarro51 a47b989
Merge branch 'main' into show_barrier_label
enavarro51 2ae33d9
Add import
enavarro51 389ce5b
Merge branch 'show_barrier_label' of github.com:enavarro51/qiskit-ter…
enavarro51 c84a44d
Lint
enavarro51 789f21b
Add barrier labels to latex drawer
enavarro51 ae09894
Merge branch 'main' into show_barrier_label
enavarro51 b26a3ed
Remove utils changes
enavarro51 cec670e
Merge branch 'main' into show_barrier_label
enavarro51 f79d27a
Cleanup
enavarro51 0e9b49e
Merge branch 'main' into show_barrier_label
enavarro51 e23aaaa
Fix merge conflict
enavarro51 959b9a6
Merge branch 'show_barrier_label' of github.com:enavarro51/qiskit-ter…
enavarro51 af5377d
Merge branch 'main' into show_barrier_label
enavarro51 7b3b92b
Lint
enavarro51 b8349db
Merge branch 'show_barrier_label' of github.com:enavarro51/qiskit-ter…
enavarro51 1a17e25
Remove label property for barriers and snapshots and increase mpl lab…
enavarro51 99d1263
First steps
enavarro51 01b9179
Fix vert spacing with text between lines
enavarro51 500d9b2
Merge branch 'main' into fix_vert_compress_text
enavarro51 4005ec2
Fix low compress connections and change tests
enavarro51 4512eeb
Add tests
enavarro51 1788218
Additonal test
enavarro51 755a3a4
Lint
enavarro51 b463348
Merge branch 'main' into fix_vert_compress_text
enavarro51 8062509
Add back test
enavarro51 7471981
Release note
enavarro51 632f102
Fix typo in release note
jakelishman 84d280a
Merge branch 'main' into fix_vert_compress_text
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we revert this test case? The behaviour that appears with this PR and this test is probably something we want to make a positive decision on, and potentially test both it and your new form (with the space not aligned).
For clarity: with this PR, the original test produces
instead. I feel like that (^) behaviour is probably actually suitable for
vertical_compression=medium
- it compresses vertically when there's a "space" so nothing visible gets erased, whereas "high" always compresses and "low" never does.Perhaps leave the test as-is, and add your new one as a separate case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ha, I was hoping nobody would notice that. It works visually either way and it's probably a pretty rare case. I'll add the old test back with the new one.