-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix plot legend don't show up when dataset start with zero (#10176)
* added test to plot_histogram with dataset starting with zero * fixed plot_histogram * added docs --------- Co-authored-by: Matthew Treinish <mtreinish@kortar.org> (cherry picked from commit 645598a)
- Loading branch information
1 parent
91cfe31
commit 07ce24d
Showing
3 changed files
with
21 additions
and
1 deletion.
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
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/fix-plot-legend-not-showing-up-3202bec143529e49.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,6 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed plot legend error when your dataset has a zero value at first position. | ||
When one of your counts or distributions had a zero value at first position, the relative legend didn't show up. | ||
See `#10158 <https://github.com/Qiskit/qiskit-terra/issues/10158>` for more details. |
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