Skip to content

A collection of dot files and other tricks for customizing the look and workflow of Jupyter Notebooks.

Notifications You must be signed in to change notification settings

mikkelhartmann/configuring-jupyter-notebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This repository contains a collection of dot files and other tricks for customizing the look and workflow of Jupyter Notebooks. I have created a Notebook that demonstrates how this works. This is still very much work in progress as I'm constantly learning new cool things about Jupyter Notebook.

The changes amount to editing or creating the following files:

  1. ~/.jupyter/nbconfig/notebook.json: This file contains a list of all the Notebook Extensions I use. The extensions could also be enabled using the extension manager.
  2. ~/.jupyter/custom/custom.css: A file that includes the CSS used to render the notebook. I use this file to set the width and alignment of the different kinds of cells.
  3. ~/.ipython/profile_default/ipython_config.py: A file which contains the default settings for how figures are shown in the notebook. I use it to increase the quality of the figures.
  4. ~/.config/matplotlib/stylelib/my_mpl_style.mplstyle: A file that that changes the default parameters for matplotlib.pyplot. This means that we can have a custom and consistent look across all our notebooks.

The documentation on how to configure Jupyter Notebook can bbe found here. The same goes for IPython here. For how to customize matplotlib styles, see this description of style sheets as well as this.

Before

After

About

A collection of dot files and other tricks for customizing the look and workflow of Jupyter Notebooks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages