Skip to content

Commit

Permalink
docs: close previous figures
Browse files Browse the repository at this point in the history
  • Loading branch information
mrossinek committed Nov 11, 2024
1 parent 5a4edd5 commit 5c5cfd0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions qiskit_addon_obp/utils/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def plot_accumulated_error(metadata: OBPMetadata, axes: Axes) -> None:
>>> metadata = OBPMetadata.from_json("docs/_static/dummy_visualization_metadata.json")
.. plot::
:context:
:context: close-figs
:include-source:
>>> from matplotlib import pyplot as plt
Expand Down Expand Up @@ -97,7 +97,7 @@ def plot_left_over_error_budget(metadata: OBPMetadata, axes: Axes) -> None:
>>> metadata = OBPMetadata.from_json("docs/_static/dummy_visualization_metadata.json")
.. plot::
:context:
:context: close-figs
:include-source:
>>> from matplotlib import pyplot as plt
Expand Down Expand Up @@ -144,7 +144,7 @@ def plot_slice_errors(metadata: OBPMetadata, axes: Axes) -> None:
>>> metadata = OBPMetadata.from_json("docs/_static/dummy_visualization_metadata.json")
.. plot::
:context:
:context: close-figs
:include-source:
>>> from matplotlib import pyplot as plt
Expand Down Expand Up @@ -198,7 +198,7 @@ def plot_num_paulis(metadata: OBPMetadata, axes: Axes) -> None:
>>> metadata = OBPMetadata.from_json("docs/_static/dummy_visualization_metadata.json")
.. plot::
:context:
:context: close-figs
:include-source:
>>> from matplotlib import pyplot as plt
Expand Down Expand Up @@ -245,7 +245,7 @@ def plot_num_truncated_paulis(metadata: OBPMetadata, axes: Axes) -> None:
>>> metadata = OBPMetadata.from_json("docs/_static/dummy_visualization_metadata.json")
.. plot::
:context:
:context: close-figs
:include-source:
>>> from matplotlib import pyplot as plt
Expand Down Expand Up @@ -299,7 +299,7 @@ def plot_sum_paulis(metadata: OBPMetadata, axes: Axes) -> None:
>>> metadata = OBPMetadata.from_json("docs/_static/dummy_visualization_metadata.json")
.. plot::
:context:
:context: close-figs
:include-source:
>>> from matplotlib import pyplot as plt
Expand Down Expand Up @@ -355,7 +355,7 @@ def plot_num_qwc_groups(metadata: OBPMetadata, axes: Axes) -> None:
>>> metadata = OBPMetadata.from_json("docs/_static/dummy_visualization_metadata.json")
.. plot::
:context:
:context: close-figs
:include-source:
>>> from matplotlib import pyplot as plt
Expand Down

0 comments on commit 5c5cfd0

Please sign in to comment.