Display PDF

Display PDF in Jupyter Notebook

Required packages

You will need to install mercury package to run this example.


Let's import required packages:

import mercury as mr

Please choose PDF which you want to display and write following code:


PDF and notebook have to be in the same directory.

The screenshot of the notebook's code in the Jupyter Notebook:

The notebook's code in the Jupyter Notebook.

Mercury App

Please start Mercury in the same directory as your notebook:

mercury run

You should see app running at address:

Finall effect should look like this:

Finall effect in Mercury App.