increase figure width
This commit is contained in:
10
basics.py
10
basics.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user