microsoft / quantum-viz.js

quantum-viz.js is a configurable tool for rendering quantum circuits using pure HTML.
Other
44 stars 14 forks source link

Fix Jupyter display #70

Closed anpaz closed 2 years ago

anpaz commented 2 years ago

Description

For an unknown reason, we were passing a list to display instead of a single object with the HTML view. This used to work, but it was broken for recent Jupyter and Jupyter Lab versions.

Fixes #68

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #70 (b425fd2) into main (7a7086c) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #70   +/-   ##
=======================================
  Coverage   89.05%   89.05%           
=======================================
  Files           4        4           
  Lines         265      265           
  Branches       33       33           
=======================================
  Hits          236      236           
  Misses         18       18           
  Partials       11       11           
Impacted Files Coverage Δ
quantum-viz/quantum_viz/widget.py 91.52% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7a7086c...b425fd2. Read the comment docs.