This post provides some tips about Jupyter Notebook.
- When you open a pdf file in a browser via your running Jupyter Notebook.
You may encounter some error similar to this “Error! (file) is not UTF-8 encoded”,
the solution:
check the address in your browser, for example, for the following case,
http://localhost:8000/edit/confusionmatrix.pdf
if I change the edit in the url address given above to view
http://localhost:8000/view/confusionmatrix.pdf
You will see your beautiful fig or document in pdf format.
- Another similar situation:
When you open a html file in your browser via your running Jupyter Notebook, and you would like to edit the html file, instead of seeing its display,
the solution:
change view to edit in the url address of the file, see the following for an example, then you should be able to edit your html file.
http://localhost:8000/view/index.html
to
http://localhost:8000/edit/index.html
Happy Jupyter Notebooking!