qiskit-ibmq-provider is being deprecated and its repo is going to be
archived soon. Please transition to the new packages. More information in
- IBMExperimentService.create_figure(experiment_id, figure, figure_name=None, sync_upload=True)[소스]¶
Store a new figure in the database.
Currently only SVG figures are supported.
str) – ID of the experiment this figure is for.
bytes]) – Name of the figure file or figure data to store.
str]) – Name of the figure. If
None, the figure file name, if given, or a generated name is used.
bool) – If
True, the plot will be uploaded synchronously. Otherwise the upload will be asynchronous.
- 반환 형식
A tuple of the name and size of the saved figure.
- 예외 발생
IBMExperimentEntryExists – If the figure already exits.
IBMQApiError – If the request to the server failed.