Sarvamangalak commited on
Commit
9c69e40
·
verified ·
1 Parent(s): 14a4526

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -61,11 +61,11 @@ def read_plate(plate_img):
61
  def get_dashboard():
62
  df = pd.read_sql("SELECT * FROM vehicles", conn)
63
 
64
- fig, ax = plt.subplots(figsize=(6, 4))
65
 
66
  if len(df) == 0:
67
  ax.text(0.5, 0.5, "No vehicles scanned yet",
68
- ha="center", va="center", fontsize=14)
69
  ax.axis("off")
70
  return fig
71
 
 
61
  def get_dashboard():
62
  df = pd.read_sql("SELECT * FROM vehicles", conn)
63
 
64
+ fig, ax = plt.subplots(figsize=(8, 6))
65
 
66
  if len(df) == 0:
67
  ax.text(0.5, 0.5, "No vehicles scanned yet",
68
+ ha="center", va="center", fontsize=12)
69
  ax.axis("off")
70
  return fig
71