-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate visualization code (#11636)
* Deprecate visualization code * Delete remove_bits from functions * Fix releasenotes directory * Restore deprecation of reverse_bits * Update releasenotes/notes/deprecate-visualization-code-8303626254b79abe.yaml * Fix tests --------- Co-authored-by: Matthew Treinish <[email protected]> Co-authored-by: Jake Lishman <[email protected]>
- Loading branch information
1 parent
6b914c7
commit 3d3edd0
Showing
4 changed files
with
92 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
releasenotes/notes/deprecate-visualization-code-8303626254b79abe.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
deprecations: | ||
- | | ||
Passing a :class:`.QuasiDistribution`, | ||
:class:`.ProbDistribution`, or a distribution dictionary in for the ``data`` | ||
argument of the :func:`.plot_histogram` visualization function is now | ||
deprecated. Support for doing this will be removed in the Qiskit 1.0 release. | ||
If you would like to plot a histogram from a :class:`.QuasiDistribution`, | ||
:class:`.ProbDistribution`, or a distribution dictionary you should | ||
use the :func:`.plot_distribution` function instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters