diff options
| author | Pinapelz <yukais@pinapelz.com> | 2023-11-26 02:36:07 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2023-11-26 02:36:07 -0800 |
| commit | 13625d722a421441c1edc6eb1256b7e20f20544d (patch) | |
| tree | 9035666485280eba681fe90a7ae0ff18924a99ea /backend/graph.py | |
| parent | 174cbcc1a1667b254d19bca31463f900845ea8ee (diff) | |
use SSR for rendering graph + transition demo to PhaseConnect
- I like Phase Connect
Diffstat (limited to 'backend/graph.py')
| -rw-r--r-- | backend/graph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/graph.py b/backend/graph.py index 16c6f6e..815c1ea 100644 --- a/backend/graph.py +++ b/backend/graph.py @@ -5,7 +5,7 @@ import math from datetime import datetime, timedelta import numpy as np -def plot_subscriber_count_over_time(server, table_name, gtitle = "Subscriber Count Over Time for Nijisanji Members", +def plot_subscriber_count_over_time(server, table_name, gtitle = "Subscriber Count Over Time for Phase Connect Members", overrideQuery = None, markers = "lines", exclude_channels = []): warnings.filterwarnings('ignore') # Ignore pandas warning regarding pyodbc query = f"SELECT name, subscriber_count, timestamp, channel_id FROM {table_name} ORDER by timestamp DESC" if overrideQuery is None else overrideQuery |
