KunaalNaik commited on
Commit
56a29e2
1 Parent(s): a0f0017

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -57,16 +57,14 @@ chart_height = 200
57
  col1, col2 = st.columns(2)
58
 
59
  with col1:
60
- st.write("Kuch tho bhi1")
61
  # Selecting only the last 4 quarters (assuming df is already sorted by time)
62
  last_four_quarters = df.tail(4)
63
 
64
  # Plotting with Matplotlib
65
  fig, ax = plt.subplots(figsize=(6, 4)) # Reduced figure size
66
  ax.bar(last_four_quarters['Quarter'], last_four_quarters['Overall Revenue Growth'])
67
- ax.set_title('Overall Revenue Growth for the Last 4 Quarters')
68
  ax.set_ylabel('Overall Revenue Growth (%)')
69
- ax.set_xlabel('Quarter')
70
  plt.xticks(rotation=45) # Rotate quarter labels for better readability
71
 
72
  st.pyplot(fig)
 
57
  col1, col2 = st.columns(2)
58
 
59
  with col1:
60
+ st.write("Overall Revenue Growth for the Last 4 Quarters")
61
  # Selecting only the last 4 quarters (assuming df is already sorted by time)
62
  last_four_quarters = df.tail(4)
63
 
64
  # Plotting with Matplotlib
65
  fig, ax = plt.subplots(figsize=(6, 4)) # Reduced figure size
66
  ax.bar(last_four_quarters['Quarter'], last_four_quarters['Overall Revenue Growth'])
 
67
  ax.set_ylabel('Overall Revenue Growth (%)')
 
68
  plt.xticks(rotation=45) # Rotate quarter labels for better readability
69
 
70
  st.pyplot(fig)