This is a simple illustration that the
- code highlighting works
- plots are shown
We start with importing numpy and matplotlib, two important python packages.
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.style as style
Now we generate vectorised x and y values for plotting:
X = np.array(range(200)) * np.pi/100
Y = np.sin(X)
So time to start a new blog! Devoted to python, R and artificial intelligence.
The first post, however, is somewhat mundane.
I like Jupyter notebooks, which can be used to write presentable python code. I want to turn Jupyter notebooks – more or less automatically – into a blog post on a WordPress content management system. Especially, we want syntax color highlighting and pretty pictures coming out of the analysis in Jupyter Notebook.
I found a few helpful references on the web, especially this one, however, my WordPress Installation behaved slightly differently, so I will describe what I did.
Continue reading “Introduction and Hello!”