jupyter theme code example
Example 1: jupyter notebook themes how to change
!pip install jupyterthemes
!jt -t <theme-name>
Example 2: jupyter themes
.header-bar {
display: none;
}
display: none;
}
margin-left: 0px !important;
}
padding-left: 0px !important
}
html,
body {
overflow: hidden;
font-family: OpenSans;
}
background-color:
color:
padding-top: 20px;
padding-bottom: 50px;
}
.navbar-collapse {
background-color:
color:
border: none !important
}
border: none !important;
color: white !important;
}
color: white !important;
}
color: white !important;
text-align: centerimportant;
padding-left: 7px;
text-decoration: none !important;
}
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
background-color:
color:
text-align: left !important;
}
.dropdown-menu,
.dropdown-menu a,
.dropdown-submenu a {
background-color:
color:
}
.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus,
.dropdown-submenu>a:after {
background-color:
color:
}
.btn-default {
color:
background-color:
border: none !important;
}
.dropdown {
text-align: left !important;
}
.form-control.select-xs {
background-color:
color:
border: none;
outline: none;
}
display: none;
}
color:
}
background-color:
color:
border: none;
border-bottom: 1px solid
}
background-color:
color:
}
padding-top: 0px !important;
}
.notebook_app {
background-color:
}
::-webkit-scrollbar {
display: none;
}
background-color:
}
div.cell.selected,
div.cell.selected.jupyter-soft-selected {
border: none !important;
}
.cm-keyword {
color: orange !important;
}
.input_area {
background-color:
color: white !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.cm-def {
color:
}
.cm-variable {
color: yellow !important;
}
.output_subarea.output_text.output_result pre,
.output_subarea.output_text.output_stream.output_stdout pre {
color: white !important;
}
.CodeMirror-line {
color: white !important;
}
.cm-operator {
color: white !important;
}
.cm-number {
color: lightblue !important;
}
.inner_cell {
border: 1px thin
border-radius: 50px !important;
}
.CodeMirror-lines {
border-radius: 20px;
}
.prompt.input_prompt {
color:
}
.prompt.output_prompt {
color: lightblue;
}
.cm-string {
color:
}
.cm-builtin {
color:
}
.run_this_cell {
color: lightblue !important;
}
.input_area {
border-radius: 20px;
}
.output_png {
background-color: white;
}
.CodeMirror-cursor {
border-left: 1.4px solid white;
}
.box-flex1.output_subarea.raw_input_container {
color: white;
}
input.raw_input {
color: black !important;
}
div.output_area pre {
color: white
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: white !important;
font-weight: bolder !important;
}
.CodeMirror-gutter.CodeMirror-linenumber,
.CodeMirror-gutters {
background-color:
}
span.filename:hover {
color:
height: auto !important;
}
background-color:
color: white !important;
}
background-color:
color: white !important;
}
background-color:
color: white !important;
border-top: 1px thin
}
background-color:
color: white !important;
}
background-color:
color: white !important;
}
background-color:
}
background-color:
color: white
}
.item_name {
color: white !important;
cursor: pointer !important;
}
.list_item:hover {
background-color:
}
.item_icon.icon-fixed-width {
color: white !important;
}
background-color:
border-top: 1px solid
}
.CodeMirror {
background-color:
}
background-color:
}
.celltoolbar {
background-color:
border: none !important;
}
Example 3: jupyter dark theme
conda install jupyterthemes
Example 4: themes for ipyhton notebook
jt -l
jt -t chesterish
jt -r
jt -t grade3 -T -N
jt -t grade3 -N -kl
jt -t onedork -f roboto -fs 12
jt -t solarizedd -f fira -fs 115
jt -t oceans16 -tf merriserif -tfs 10 -nf ptsans -nfs 13
jt -t chesterish -cellw 90% -lineh 170
jt -t solarizedl -cellw 860
jt -t monokai -m 200
jt -t oceans16 -cursc r -cursw 5
jt -t grade3 -altp
jt -t onedork -fs 95 -altp -tfs 11 -nfs 115 -cellw 88% -T
jt -t grade3 -fs 95 -altp -tfs 11 -nfs 115 -cellw 88% -T
Example 5: jupyter notebook theme
conda install -c conda-forge jupyterthemes
import jupyterthemes as jt
print(jt.get_themes())
jt.install_theme('chesterish')
Example 6: jupyter notebook themes how to change
jt -t <theme-name>