I am trying to embed a local PDF image file into a jupyter notebook run in jupyter-lab as follows:
from IPython.display import IFrame
plot_fn = 'example_data/example_cNMF/example_plot.pdf'
IFrame(plot_fn, width=600, height=400)
But this just produces a gray box:
Any idea what is going on or how I can fix this? I am using Python 3.6, jupyter==1.0.0 jupyterlab==0.32.1 matplotlib==2.2.2 ipython==6.5.0
What browser are you using? I was using Safari on MacAir, and had this problem.
Changing the browser to Firefox solved the problem.
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