I found that images embedded in jupyter markups by a simple eg ![](img/myimage.png)
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.
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 :-)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With