Skip to content

justify keyword arg in circuit draw does not raise on bad input #12089

@nonhermitian

Description

@nonhermitian

Environment

  • Qiskit version: latest
  • Python version:
  • Operating system:

What is happening?

justify will not raise on bogus inputs, e.g.

qc.draw('mpl',justify='midldsfasdfse')

How can we reproduce the issue?

Try above

What should happen?

Bad inputs should raise rather than default implicitly

Any suggestions?

No response

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions