-
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
Unify style across circuit visualizers #2797
Labels
good first issue
Good for newcomers
status: pending PR
It has one or more PRs pending to solve this issue
Comments
I'd like to give this one a shot if possible. |
Sure! Let me know if you need any help!
…On Sat, Jul 20, 2019, 9:47 AM Max ***@***.***> wrote:
I'd like to give this one a shot if possible.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2797>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAF3FZP3NBTTMQ42C2JJNJDQAMJONANCNFSM4IDZYY4A>
.
|
@maxKenngott Probably the best way it to make a PR for each of the items in this issue. Are you going for any one in particular first? |
Fixed in #3105 |
I used a flight to attack some of them. Let me know what's on your plate @maxKenngott ! |
1ucian0
added
the
status: pending PR
It has one or more PRs pending to solve this issue
label
Apr 27, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
Good for newcomers
status: pending PR
It has one or more PRs pending to solve this issue
The circuit visualizers are currently configurable via some
kwargs
to thecircuit.draw()
function, but also thempl
drawer accepts astyle
dict. This request is to unify the interface so that the important ones are accessed via the kwargs. The mpl style should probably just be trimmed down to some coloring schemes.Here's a rundown of the status of each:
'cregbundle': this is a useful option that is only available via the mpl style, and I'd like it to be available in all via a kwarg in
draw()
. PR Support for cregbundle in text circuit drawer #4274'line_length' kwarg: this currently only works for text. The mpl accepts a 'fold' key in its style. These should be consolidated into a
fold
kwarg (i think fold is better than line_length). PR "fold" option unified across drawers #3108'scale' kwarg: works well for mpl and latex. Does not work for text, which is probably expected. But docstring should reflect that. PR Support for cregbundle in text circuit drawer #4274
'filename' kwarg: file saving does not work for text. It should.Could not reproduce.'plot_barriers' kwarg: this works well. The mpl style key 'plotbarriers' is redundant and should be removed. PR Deprecate allowing extra keys in circuit drawer style dict #3105
The text was updated successfully, but these errors were encountered: