dwavesystems/dwave-inspector

Inline inspector displayed twice (jupyter)

randomir opened this issue · 0 comments

In interactive/GUI jupyter, this works as expected (cell-inline inspector is shown):

url = dwave.inspector.show(...)

This displays the inspector as well (as url is a rich display object):

url

or

display(url)

However, if the return value of .show() is rendered in the same cell where show is invoked, the inspector is rendered twice, e.g. (on last line in cell):

dwave.inspector.show(...)