Nikola Jupyter Notebook Publishing

This week I spent some time converting my Wordpress blog over to a static site generator; Nikola. If you were led here to figure out how to do this, then I suggest you go here:

In [3]:
%matplotlib inline

Sample code to generate a sine wave

In [5]:
import numpy as np
import matplotlib.pyplot as plt

time = np.arange(0, 10, 0.1);
amplitude   = np.sin(time)
plt.plot(time, amplitude)
plt.title('Sine wave')
plt.ylabel('Amplitude = sin(time)')
plt.grid(True, which='both')
plt.axhline(y=0, color='k')
In [ ]:
Contents © 2019 Tyler Marrs