From 68cba8a186ef8f641562066d73f85bd53c240dd0 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 26 Nov 2023 12:48:42 -0800 Subject: bump dependency and minor style changes --- backend/graph.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'backend/graph.py') diff --git a/backend/graph.py b/backend/graph.py index 815c1ea..38cc8bb 100644 --- a/backend/graph.py +++ b/backend/graph.py @@ -1,9 +1,6 @@ import plotly.graph_objs as go import pandas as pd import warnings -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 Phase Connect Members", overrideQuery = None, markers = "lines", exclude_channels = []): @@ -21,8 +18,8 @@ def plot_subscriber_count_over_time(server, table_name, gtitle = "Subscriber Cou showlegend = True)) fig.update_layout( title = {'text': gtitle, 'x': 0.5, 'xanchor': 'center', - 'yanchor': 'top', 'font': {'family': 'Arial', 'size': 30}}, - xaxis_title = "Timestamp", + 'yanchor': 'top', 'font': {'family': 'Droid Sans', 'size': 30}}, + xaxis_title = "Date", yaxis_title = "Subscribers", legend = dict(font = dict(size = 16), title = dict(text = "Channels")), height = 950, -- cgit v1.2.3