Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Remove usage of deprecated interactive visualizations (#1142) #1157

Merged
merged 2 commits into from
Apr 5, 2021

Conversation

mtreinish
Copy link
Member

@mtreinish mtreinish commented Apr 5, 2021

Summary

This commit removes the deprecated usage of the interactive visualization functions from the tutorials. These functions were deprecated in the Terra 0.15.0 release and were broken by the removal of the hosted JS code they depended on. When they were deprecated they just became aliases for the the matplotlib based visualizations because without the hosted JS code they didn't work.

Details and comments

Backported from #1142 and #1155

(cherry picked from commit 60fd593)

* move iplot to plot

* remove the cells explaining the iplots

(cherry picked from commit 60fd593)
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link

@mriedem mriedem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK to me. This is the error I get with Qiskit 0.25.0 against the stable/0.23.x branch without this:

image

(cherry picked from commit b71ff99)
@mriedem
Copy link

mriedem commented Apr 5, 2021

Need #1155 cherry picked to the stable/0.23.x branch.

@mtreinish mtreinish merged commit 7ea1cba into Qiskit:stable/0.23.x Apr 5, 2021
@mtreinish mtreinish deleted the backport-iplot-removal branch April 5, 2021 21:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants