Content-Length: 307901 | pFad | http://github.com/fastplotlib/fastplotlib/pull/437

11 sphinx gallery for docs by clewis7 · Pull Request #437 · fastplotlib/fastplotlib · GitHub
Skip to content

sphinx gallery for docs #437

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

Closed
wants to merge 1 commit into from
Closed

sphinx gallery for docs #437

wants to merge 1 commit into from

Conversation

clewis7
Copy link
Member

@clewis7 clewis7 commented Mar 18, 2024

starts #486

@clewis7
Copy link
Member Author

clewis7 commented Mar 18, 2024

Currently, the issue that I am running into is that in the conf.py I am forcing offscreen rendering but then when I go to make the html the wgpu canvas is rendering which causes the build process to stall

Comment on lines +20 to +21
def _ignore_offscreen_run():
wgpu.gui.offscreen.run = lambda: None
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bit should no longer be necessary. It's from a time when the offscreen backend still fired up asyncio (it does not do so anymore). The WGPU_FORCE_OFFSCREEN is the only thing needed.

@almarklein
Copy link
Collaborator

I happen to be working on pygfx/pygfx#679.

# "Light",
# },
"doc_module": ("fastplotlib",),
"image_scrapers": ("fastplotlib",),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you put "pygfx" here instead, I think you can use our scraper, so you don;t need the gallery_scraper.py.

@almarklein
Copy link
Collaborator

[...] the wgpu canvas is rendering which causes the build process to stall

Fastplotlib is eagerly trying to use glfw when I try it too, ignoring the offscreen setting. I expect that this should be fixed with #431

@clewis7 clewis7 closed this May 29, 2024
@kushalkolar kushalkolar deleted the sphinx-gallery branch June 12, 2024 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/fastplotlib/fastplotlib/pull/437

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy