chrisjay commited on
Commit
fb37325
·
1 Parent(s): 6f4a3dd

initial commit to RL stats

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -7,7 +7,7 @@ import matplotlib.pyplot as plt
7
 
8
 
9
  def plot_bar(value,name,x_name,y_name,title):
10
- fig, ax = plt.subplots(figsize=(10,4),tight_layout=True)
11
 
12
  ax.set(xlabel=x_name, ylabel=y_name,title=title)
13
 
@@ -16,7 +16,7 @@ def plot_bar(value,name,x_name,y_name,title):
16
 
17
  return ax.figure
18
  def plot_barh(value,name,x_name,y_name,title):
19
- fig, ax = plt.subplots(figsize=(10,4),tight_layout=True)
20
 
21
  ax.set(xlabel=x_name, ylabel=y_name,title=title)
22
 
 
7
 
8
 
9
  def plot_bar(value,name,x_name,y_name,title):
10
+ fig, ax = plt.subplots(tight_layout=True)
11
 
12
  ax.set(xlabel=x_name, ylabel=y_name,title=title)
13
 
 
16
 
17
  return ax.figure
18
  def plot_barh(value,name,x_name,y_name,title):
19
+ fig, ax = plt.subplots(tight_layout=True)
20
 
21
  ax.set(xlabel=x_name, ylabel=y_name,title=title)
22