My Custom Jupyter Notebook Theme

Heading 1

Heading 2

Heading 3

This is a paragraph. The quick brown fox jumps over the lazy dog.

This is a link.

I have placed great emphasis on this text.

This text is strong.

This is a blockquote.

  1. Numbered list 1
  2. Numbered list 2
    1. Nested list a
    2. Nested list b
    3. Nested list c
  3. Numbered list 3

$$e^x=\sum_{i=0}^\infty \frac{1}{i!}x^i$$

This is
a table

Code meant for illustration instead of execution:

import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
from numpy import vectorize
from matplotlib.colors import LinearSegmentedColormap

def plot(k):
    @vectorize
    def tupper(x,y):
        return (y // 17 // 2 ** (17 * int(x) + int(y) % 17)) % 2 > 0.5
    custom_cmap = LinearSegmentedColormap.from_list('taxi_driver', ['gold','black'])
    X, Y = np.meshgrid(range(106), range(k, k + 17))
    Z = np.fliplr(tupper(X, Y))
    plt.figure(figsize = (106,17))
    plt.imshow(Z, interpolation='nearest', cmap = custom_cmap)
    plt.show()

This is a horizontal rule:


In [1]:
# Code meant for execution:
k = 955001822015165819839208326717145657704264555650398917787371\
6010738556922926900479306530601718604292326455623905887116655395\
7021501919629853468637788806704019867929944870261186178167391177\
9495564834330381296263974472706223169369469257214967487736412031\
62582493261712599174437744370033500589089755659572871168

%matplotlib inline 
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
from numpy import vectorize
from matplotlib.colors import LinearSegmentedColormap

def plot(k):
    @vectorize
    def tupper(x,y):
        return (y // 17 // 2 ** (17 * int(x) + int(y) % 17)) % 2 > 0.5
    custom_cmap = LinearSegmentedColormap.from_list('taxi_driver', ['gold','black'])
    X, Y = np.meshgrid(range(106), range(k, k + 17))
    Z = np.fliplr(tupper(X, Y))
    plt.figure(figsize = (106,17))
    plt.imshow(Z, interpolation='nearest', cmap = custom_cmap)
    plt.show()

plot(k)