Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix repeated plots in docs (backport #13635) #13639

Closed
wants to merge 1 commit into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 9, 2025

Summary

The use of :context: in pages with several plots was causing an accumulation of figures, this PR fixes this issue by adding :context: close-figs. For example, the grover_operator docs before this PR showed:
Screenshot 2025-01-08 at 17 37 30

While after the fix there is only one figure per snippet (as expected):

Screenshot 2025-01-08 at 17 36 34

Details and comments


This is an automatic backport of pull request #13635 done by [Mergify](https://mergify.com).

@mergify mergify bot requested a review from a team as a code owner January 9, 2025 09:12
@mergify mergify bot mentioned this pull request Jan 9, 2025
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the following people are relevant to this code:

  • @Cryoris
  • @Qiskit/terra-core
  • @ajavadia

@github-actions github-actions bot added documentation Something is not clear or an error documentation Changelog: None Do not include in changelog labels Jan 9, 2025
@github-actions github-actions bot added this to the 2.0.0 milestone Jan 9, 2025
ElePT
ElePT previously approved these changes Jan 9, 2025
@ElePT ElePT enabled auto-merge January 9, 2025 09:12
@ElePT ElePT disabled auto-merge January 9, 2025 09:55
@ElePT ElePT dismissed their stale review January 9, 2025 09:56

1.4 has no commits so we probably shouldn't backport manually

@ElePT ElePT closed this Jan 9, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12686854272

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.005%) to 88.93%

Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 3 92.73%
Totals Coverage Status
Change from base Build 12350106200: 0.005%
Covered Lines: 79072
Relevant Lines: 88915

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None Do not include in changelog documentation Something is not clear or an error documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants