This repository has been archived by the owner on Jul 13, 2022. It is now read-only.
forked from qiskit-community/qiskit-experiments
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FigureData wrapper for figures (qiskit-community#814)
* Added FigureData wrapper for figures * FigureData is now kept when adding the figure into a composite analysis result * Update qiskit_experiments/database_service/db_experiment_data.py Co-authored-by: Yael Ben-Haim <[email protected]> Co-authored-by: Christopher J. Wood <[email protected]>
- Loading branch information
1 parent
494da6f
commit e106b3b
Showing
4 changed files
with
134 additions
and
14 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
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,9 @@ | ||
--- | ||
upgrade: | ||
- | | ||
Adds a :class:`.FigureData` class for adding metadata to analysis result figures. Figures added to | ||
:class:`.ExperimentData` are now stored using this class. The raw image object (SVG or matplotlib.Figure) | ||
can be accessed using the :attr:`.FigureData.figure` attribute. | ||
Note that currently metadata is only stored locally and will be discarded when saved to the cloud | ||
experiment service database. |
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