Skip to content

Commit

Permalink
Add alt text (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
beckykd authored Dec 19, 2024
1 parent aa1e9f0 commit ed55040
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions qiskit_addon_mpf/backends/quimb_layers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
Suzuki-Trotter formula.
.. plot::
:alt: Output from the previous code.
:context: close-figs
:include-source:
Expand All @@ -81,6 +82,7 @@
into a single circuit with barriers between them to ease the visualization).
.. plot::
:alt: Output from the previous code.
:context: close-figs
:include-source:
Expand Down
2 changes: 2 additions & 0 deletions qiskit_addon_mpf/backends/tenpy_layers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
Suzuki-Trotter formula.
.. plot::
:alt: Output from the previous code.
:context: close-figs
:include-source:
Expand All @@ -88,6 +89,7 @@
into a single circuit with barriers between them to ease the visualization).
.. plot::
:alt: Output from the previous code.
:context: close-figs
:include-source:
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ commands =

[testenv:lint]
image-tester-commit = 7ae965ccf21c39e5170334ec7f4882756883860a
deps =
deps =
git+https://github.com/Qiskit/documentation.git@{[testenv:lint]image-tester-commit}\#egg=sphinx-alt-text-validator&subdirectory=scripts/image-tester
basepython = python3.10
extras =
Expand All @@ -34,7 +34,7 @@ commands =
nbqa ruff docs/
mypy qiskit_addon_mpf/
pylint -rn qiskit_addon_mpf/ test/
sphinx-alt-text-validator -f qiskit_addon_mpf -s qiskit_addon_mpf/backends/tenpy_layers/__init__.py qiskit_addon_mpf/backends/quimb_layers/__init__.py
sphinx-alt-text-validator -f qiskit_addon_mpf
nbqa pylint -rn docs/
typos
reno lint
Expand Down

0 comments on commit ed55040

Please sign in to comment.