Last active
May 25, 2021 03:14
-
-
Save sdelquin/b6ee82c0edf5fac5f330f699af7ab99a to your computer and use it in GitHub Desktop.
Load custom CSS for Jupyter Notebook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.display import HTML | |
from pathlib import Path | |
css_rules = Path('custom.css').read_text() | |
HTML('<style>' + css_rules + '</style>') |
Author
sdelquin
commented
Dec 19, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment