Reputation: 8622
I found that images embedded in jupyter markups by a simple eg 
didnt display in the github notebook viewer, when the repository is private.
I tried a bunch of hacking around.
Apparently there is functionality in 4.x.x to embed images as base64 metadata? But I couldnt see that in my own notebook.
Upvotes: 9
Views: 2036
Reputation: 8622
Finally, what worked for me, very simply, create a code cell that looks like:
from IPython.display import Image, display
display(Image(filename='img/myimage.png', embed=True))
This did:
img/myimage.png
, into the notebookcode
section itself :-)Upvotes: 10