This is style generator, you can simply generate inline css to insert into your Jupyter notebook to change look of tables in your preview.
Project description
Jupyter notebook Style Helper
What is, the purpose of this project?
This is style generator, you can simply generate inline css to insert into your Jupyter notebook to change look of tables in your preview.
How to install:
pip install jupyter-style
What python version is required?
Code is compatible with python >= 3.5
How to use it?
from IPython.display import HTML, display
import seaborn as sns
from jupyterStyle import StyleHelper
style_generator = StyleHelper.StyleHelper()
style_generator.emit_style()
iris = sns.load_dataset('iris')
display(iris.head(5))
style_generator.emit_style(
col_header_color="#F02020",
row_header_color="#AAAA40")
Show me how default Jupyter style looks like to compare.
How can I customise generated style?
- col_header_color - Column header color
- row_header_color - Row header color
- selector - css selector to apply style only to selected elements
ToDo:
- Add parameters for: lines, margins, shadows, etc.
- Add a support for predefined themes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.
See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for jupyter_style-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66d4cbf6feafd7aa25b6277ce12d2cb4e01fba299d13d0a25ddf50ee89edf606 |
|
MD5 | 30d9deb284249fded4f36d63fe9be657 |
|
BLAKE2b-256 | 1bf5f7417c76252fd05848203e6867a7634fb7312eef8a067010e5030886f6d4 |