chrisjay commited on
Commit
d14a54c
β€’
1 Parent(s): fb37325

initial commit to RL stats

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. utils.py +2 -2
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
  title: Deep Rl Stats
3
- emoji: 🐠
4
  colorFrom: green
5
  colorTo: pink
6
  sdk: gradio
7
- sdk_version: 3.0.12
8
  app_file: app.py
9
  pinned: false
10
  ---
 
1
  ---
2
  title: Deep Rl Stats
3
+ emoji: πŸ“Š
4
  colorFrom: green
5
  colorTo: pink
6
  sdk: gradio
7
+ sdk_version: 2.9b24
8
  app_file: app.py
9
  pinned: false
10
  ---
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(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(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(figsize=(10,4),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(figsize=(10,4),tight_layout=True)
20
 
21
  ax.set(xlabel=x_name, ylabel=y_name,title=title)
22