My intention here is to show that it is indeed possible to use Jupyter to write blog posts, which I actually intend to do more often than writing Markdown
Why?
Jupyter is great because I can mix code and documentation together.
print("Text is supported :)")
Text is supported :)
For example, look at this example from the seaborn library:
!pip install seaborn
import seaborn as sns
sns.set()
tips = sns.load_dataset("tips")
sns.relplot(x="total_bill", y="tip", col="time",
hue="smoker", style="smoker", size="size",
data=tips);
import altair as alt
# load a simple dataset as a pandas DataFrame
from vega_datasets import data
cars = data.cars()
alt.Chart(cars).mark_point().encode(
x='Horsepower',
y='Miles_per_Gallon',
color='Origin',
).interactive()