qiskit.providers.ibmq.experiment.IBMExperimentService.update_figure¶
- IBMExperimentService.update_figure(experiment_id, figure, figure_name, sync_upload=True)[código fonte]¶
Update an existing figure.
- Parâmetros
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.
- Tipo de retorno
Tuple
[str
,int
]- Retorno
A tuple of the name and size of the saved figure.
- Levanta
IBMExperimentEntryNotFound – If the figure does not exist.
IBMQApiError – If the request to the server failed.