Skip to content

Make it clearer guides use notebook environment #2669

Closed
@OmegaTwiddle

Description

@OmegaTwiddle

URL to the relevant documentation

I'm following the tutorial at https://docs.quantum.ibm.com/guides/hello-world

If I follow Step 1 line for line, my script just exits without printing or displaying anything.

Select all that apply

  • typo
  • code bug
  • out-of-date content
  • broken link
  • other

Describe the fix.

I needed to add the below code to get it to show anything (this wasn't obvious to me).

import matplotlib.pyplot as plt 
plt.show()

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions