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

Images not included #169

Closed
jgosmann opened this issue Mar 14, 2018 · 5 comments
Closed

Images not included #169

jgosmann opened this issue Mar 14, 2018 · 5 comments

Comments

@jgosmann
Copy link

Images from plots created with Matplotlib and '%matplotlib inline' are not included in the generated documentation. I get warnings like

/home/jgosmann/Documents/projects/nengo_spa/docs/examples/vocabulary_casting.ipynb:: WARNING: image file not readable: examples/../_build/.doctrees/nbsphinx/examples_vocabulary_casting_7_1.png

even though the file reported an non-readable does exist and is readable.

@jgosmann
Copy link
Author

This is with nbsphinx 0.3.1, sphinx 1.7.1, Matplotlib 2.1.0, and Python 3.6.1.

@mgeier
Copy link
Member

mgeier commented Mar 15, 2018

Can you please provide an example notebook?

@jgosmann
Copy link
Author

Example notebook can be found in nengo/nengo-spa#68, in particular within this folder. Here is also the Sphinx configuration.

@mgeier
Copy link
Member

mgeier commented Mar 15, 2018

OK, thanks, I guess this is a duplicate of #49?

@jgosmann
Copy link
Author

Oops, you're right! I thought I wasn't using any symbolic links, but I checked again and turns out I was.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants