• Stars
    star
    328
  • Rank 128,352 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Apply custom CSS styling to your jupyter notebooks

jupyter-themer

https://travis-ci.org/transcranial/jupyter-themer https://pypi.python.org/pypi/jupyter-themer/0.1.0

Apply custom CSS styling to your jupyter notebooks. Contributions are welcome!

Mix and match themes by:

  • layout (example: wide)

layout

  • typography (example: serif)

typography

  • color (example: night)

color

You can always revert back to the default:

default

Installation

pip install jupyter-themer

or

python setup.py install

Usage

NOTE: Old ipython configuration files, for example at the default ~/.ipython, may need to be removed in order for jupyter to use the correct files.

usage: jupyter-themer [-c COLOR, --color COLOR]
                      [-l LAYOUT, --layout LAYOUT]
                      [-t TYPOGRAPHY, --typography TYPOGRAPHY]
                      [-f CODE_FONT, --font CODE_FONT]
                      [-b BACKGROUND, --background BACKGROUND]
                      [-s OPTION, --show OPTION]
                      [-p PATH, --css_path PATH]

If no arguments are supplied, the program will revert the jupyter notebook style back to default.

Any combination of the style types can be specified, and the program will mix together the associated color/layout/typographic/code font/background css files accordingly, writing it to the custom.css file used by the notebook. Use -p or --css_path to specify a custom path for the css file, for example if you need per-user configuration.

To get a list of available options use the show argument, e.g. jupyter-themer --show color

For all running notebooks, a quick browser refresh will be needed to apply the stylesheet.

Available themes

-c, --color
  • 3024-day
  • 3024-night
  • abcdef
  • ambiance
  • base16-dark
  • base16-light
  • blackboard
  • cobalt
  • colorforth
  • dracula
  • eclipse
  • elegant
  • erlang-dark
  • icecoder
  • lesser-dark
  • liquibyte
  • material
  • mbo
  • mdn-like
  • midnight
  • monokai
  • neat
  • neo
  • night
  • paraiso-dark
  • paraiso-light
  • pastel-on-dark
  • rubyblue
  • seti
  • solarized-light
  • solarized-dark
  • the-matrix
  • tomorrow-night-bright
  • tomorrow-night-eighties
  • ttcn
  • twilight
  • vibrant-ink
  • xq-dark
  • xq-light
  • yeti
  • zenburn
-l, --layout
  • wide
  • hovertable
-t, --typography
  • serif
-f, --font
  • Ubuntu_Mono
-b, --background
  • dark

License

MIT License

More Repositories

1

keras-js

Run Keras models in the browser, with GPU support using WebGL
JavaScript
4,954
star
2

atom-transparency

How to make your Atom editor transparent
CSS
473
star
3

statusboard

Host status checker complete with a front-end dashboard and slack notifications
Go
125
star
4

inception-resnet-v2

Implementation of Google's Inception + ResNet v2 architecture in Keras
Jupyter Notebook
32
star
5

hypercube

A simple hypercube/tesseract animation in ln/cairo (Go) and three.js (JavaScript)
Go
22
star
6

stochastic-depth

Implementation of Stochastic Depth Networks in Keras
Jupyter Notebook
13
star
7

keras-js-demos-data

Keras.js demos data
10
star
8

tf-keras-cuda-docker

Docker image for Tensorflow and Keras with CUDA support
10
star
9

wide-resnet

Implementation of Wide Residual Networks in Keras
Jupyter Notebook
10
star
10

inception-v4

Implementation of Google's Inception v4 architecture in Keras
Jupyter Notebook
8
star
11

trove-dev

JavaScript
3
star
12

kaggle-ultrasound-nerve-segmentation

My code and scripts for the Kaggle ultrasound nerve segmentation challenge
Jupyter Notebook
3
star
13

kaggle-dsb2

My code and scripts for the Kaggle 2nd Annual Data Science Bowl
Jupyter Notebook
2
star
14

diseasegraph

Disease graph explorer - visualize relationships between diseases within the biomedical literature.
JavaScript
2
star
15

keras-js-docs

Keras.js documentation
2
star
16

cortical-stim

Real-time brain oscillation detection and phase-locked stimulation using autoregressive spectral estimation and time-series forward prediction
MATLAB
2
star
17

tricorder

A terminal-based system monitoring application written in Go
Go
1
star
18

radsquared

Radiology knowledge search engine based on NLP and semantic inference.
Python
1
star
19

levelgraph-n3-import

CLI tool for importing n3 files into a levelgraph db
JavaScript
1
star