Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ class DownloadsTracker:
|
|
38 |
return None
|
39 |
|
40 |
def plot(self, use_log_scale):
|
41 |
-
fig = make_subplots(rows=2, cols=1, subplot_titles=("Cumulative Downloads (restarted at 0)", "Weekly Downloads"))
|
42 |
|
43 |
colors = px.colors.qualitative.Pastel # Built-in color sequence
|
44 |
for i, pkg in enumerate(self.current_packages):
|
|
|
38 |
return None
|
39 |
|
40 |
def plot(self, use_log_scale):
|
41 |
+
fig = make_subplots(rows=2, cols=1, subplot_titles=("Cumulative Downloads (restarted at 0)", "Weekly Downloads (7 days rolling sum)"))
|
42 |
|
43 |
colors = px.colors.qualitative.Pastel # Built-in color sequence
|
44 |
for i, pkg in enumerate(self.current_packages):
|