qiskit.providers.ibmq.experiment.IBMExperimentService.update_figure¶
-
IBMExperimentService.
update_figure
(experiment_id, figure, figure_name, sync_upload=True)[source]¶ Update an existing figure.
- Parameters
experiment_id (
str
) – Experiment ID.figure (
Union
[str
,bytes
]) – Name of the figure file or figure data to store.figure_name (
str
) – Name of the figure.sync_upload (
bool
) – IfTrue
, the plot will be uploaded synchronously. Otherwise the upload will be asynchronous.
- Return type
Tuple
[str
,int
]- Returns
A tuple of the name and size of the saved figure.
- Raises
IBMExperimentEntryNotFound – If the figure does not exist.
IBMQApiError – If the request to the server failed.