Sunday, June 07, 2020

The Hair Splitters of Matplotlib

What is a matchstick chart if not this? I couldn't find this searching online.. That's what I'd call it.

Q : Why not have this as part of plot, rather than create something new like stem?

import numpy as np
from matplotlib import pyplot as plt

%matplotlib inline

x = np.arange( 0, 20, 1 )
y = 1 - np.exp( -x/5)

No comments: