make all plotting modules future proof by accepting kwargs

This commit is contained in:
fordprefect
2020-12-17 10:38:30 +01:00
parent 43cb8b3ec9
commit e0d6508682
9 changed files with 9 additions and 9 deletions

View File

@@ -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