make all plotting modules future proof by accepting kwargs
This commit is contained in:
@@ -8,7 +8,7 @@ name="doubling_time"
|
||||
def moving_average(x, w):
|
||||
return np.convolve(x, np.ones(w), 'valid') / w
|
||||
|
||||
def plot(data, countries, pop):
|
||||
def plot(data, countries, pop, **kwargs):
|
||||
figsize = (10,5)
|
||||
for loc in data:
|
||||
if loc not in countries:
|
||||
|
||||
Reference in New Issue
Block a user