increase figure width

This commit is contained in:
fordprefect
2020-03-27 17:00:36 +01:00
parent 99a9677642
commit d8ebab65f3
5 changed files with 13 additions and 9 deletions

View File

@@ -4,11 +4,11 @@ Plot total cases of countries over time on log scale
import matplotlib.pyplot as pp
def plot(data, countries):
tcp, tc = pp.subplots()
tdp, td = pp.subplots()
ncp, nc = pp.subplots()
ndp, nd = pp.subplots()
figsize = (10,5)
tcp, tc = pp.subplots(figsize=figsize)
tdp, td = pp.subplots(figsize=figsize)
ncp, nc = pp.subplots(figsize=figsize)
ndp, nd = pp.subplots(figsize=figsize)
for loc in data:
if loc not in countries:
continue