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

matplotlib outputs text representation instead of figure #1420

Open
idahlke-blacksky opened this issue Jun 21, 2024 · 0 comments
Open

matplotlib outputs text representation instead of figure #1420

idahlke-blacksky opened this issue Jun 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@idahlke-blacksky
Copy link

Provide a minimally reproducible example

nbdev-matplotlib-test
Pages

I set up this experiment to reproduce the bug in a shareable environment. The notebooks all have the same plotting code. Note that some of the notebooks show a text representation instead of the rendered figure (<Figure size 640x480 with 1 Axes>). This happens for the last N notebooks anytime the number of notebooks with matplotlib figures exceeds the number of workers passed to nbdev_docs by N. I can locally run nbdev_docs n_workers 1 and force all notebooks except the first to fail. Increasing the number of workers decreases the number of failed notebooks expectedly.

Locally I am setting up with the conda env file, but the problem repeats on github without it.

@idahlke-blacksky idahlke-blacksky added the bug Something isn't working label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant