rbiswasfc commited on
Commit
657b752
1 Parent(s): a14cb14
Files changed (2) hide show
  1. .gitignore +2 -1
  2. app.py +2 -2
.gitignore CHANGED
@@ -4,4 +4,5 @@ data
4
  .ipynb_checkpoints
5
  __pycache__
6
  .sesskey
7
- *.prof
 
 
4
  .ipynb_checkpoints
5
  __pycache__
6
  .sesskey
7
+ *.prof
8
+ profiling_results
app.py CHANGED
@@ -81,7 +81,7 @@ def get_article_details(arxiv_id):
81
  @matplotlib2fasthtml
82
  def generate_chart():
83
  end_date = max(weeks)
84
- start_date = end_date - timedelta(weeks=11)
85
 
86
  dates = []
87
  counts = []
@@ -99,7 +99,7 @@ def generate_chart():
99
 
100
  ax = sns.barplot(x=dates, y=counts)
101
 
102
- plt.title("Papers per Week (Last 12 Weeks)", fontsize=16, fontweight="bold")
103
  plt.xlabel("Week", fontsize=12)
104
  plt.ylabel("Number of Papers", fontsize=12)
105
 
 
81
  @matplotlib2fasthtml
82
  def generate_chart():
83
  end_date = max(weeks)
84
+ start_date = end_date - timedelta(weeks=23)
85
 
86
  dates = []
87
  counts = []
 
99
 
100
  ax = sns.barplot(x=dates, y=counts)
101
 
102
+ plt.title("Papers per Week (Last 24 Weeks)", fontsize=16, fontweight="bold")
103
  plt.xlabel("Week", fontsize=12)
104
  plt.ylabel("Number of Papers", fontsize=12)
105