Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SriVinayA/652098804fd5cc240b05a9f42d3cd899 to your computer and use it in GitHub Desktop.
Save SriVinayA/652098804fd5cc240b05a9f42d3cd899 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# How to change Theme/Dark Theme in Jupyter Notebook :-"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## steps:- "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### install \"jupyterthemes\" package"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install jupyterthemes"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### to show all the availble Themes"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!jt -l"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### to change the Theme"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"# !jt -t <themename>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Eg : "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!jt -t onedork"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### to set back to the Default Theme"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!jt -r"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.2"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment