make all plotting modules future proof by accepting kwargs
This commit is contained in:
@@ -4,7 +4,7 @@ Plot total cases of countries over time on log scale
|
||||
import matplotlib.pyplot as pp
|
||||
import numpy as np
|
||||
|
||||
def plot(data, countries, pop):
|
||||
def plot(data, countries, pop, **kwargs):
|
||||
figsize = (10,5)
|
||||
tcp, tc = pp.subplots(figsize=figsize) # total cases
|
||||
tdp, td = pp.subplots(figsize=figsize) # total deaths
|
||||
|
||||
Reference in New Issue
Block a user