redo
Browse files
app.py
CHANGED
@@ -684,11 +684,11 @@ def get_data_default(time_scale, exp):
|
|
684 |
utc_time = utc_time.replace(tzinfo=pytz.utc)
|
685 |
local_time = utc_time.astimezone(local_tz)
|
686 |
temp["x"] = local_time.strftime("%Y-%m-%d %H:%M:%S")
|
687 |
-
|
688 |
-
|
689 |
|
690 |
plt.figure()
|
691 |
-
plt.plot(df)
|
692 |
plt.xlabel("Time")
|
693 |
plt.ylabel("Temperature (C)")
|
694 |
plt.title("Temperature vs Time")
|
@@ -705,11 +705,11 @@ def get_data_default(time_scale, exp):
|
|
705 |
utc_time = utc_time.replace(tzinfo=pytz.utc)
|
706 |
local_time = utc_time.astimezone(local_tz)
|
707 |
od["x"] = local_time.strftime("%Y-%m-%d %H:%M:%S")
|
708 |
-
|
709 |
-
|
710 |
|
711 |
plt.figure()
|
712 |
-
plt.plot(df)
|
713 |
plt.xlabel("Time")
|
714 |
plt.ylabel("OD")
|
715 |
plt.title("OD vs Time")
|
@@ -726,11 +726,11 @@ def get_data_default(time_scale, exp):
|
|
726 |
utc_time = utc_time.replace(tzinfo=pytz.utc)
|
727 |
local_time = utc_time.astimezone(local_tz)
|
728 |
od["x"] = local_time.strftime("%Y-%m-%d %H:%M:%S")
|
729 |
-
|
730 |
-
|
731 |
|
732 |
plt.figure()
|
733 |
-
plt.plot(df)
|
734 |
plt.xlabel("Time")
|
735 |
plt.ylabel("Normalized OD")
|
736 |
plt.title("Normalized OD vs Time")
|
@@ -747,11 +747,11 @@ def get_data_default(time_scale, exp):
|
|
747 |
utc_time = utc_time.replace(tzinfo=pytz.utc)
|
748 |
local_time = utc_time.astimezone(local_tz)
|
749 |
gr["x"] = local_time.strftime("%Y-%m-%d %H:%M:%S")
|
750 |
-
|
751 |
-
|
752 |
|
753 |
plt.figure()
|
754 |
-
plt.plot(df)
|
755 |
plt.xlabel("Time")
|
756 |
plt.ylabel("Growth Rate")
|
757 |
plt.title("Growth Rate vs Time")
|
|
|
684 |
utc_time = utc_time.replace(tzinfo=pytz.utc)
|
685 |
local_time = utc_time.astimezone(local_tz)
|
686 |
temp["x"] = local_time.strftime("%Y-%m-%d %H:%M:%S")
|
687 |
+
df = pd.DataFrame(temp_graph)
|
688 |
+
df = df.set_index("x")
|
689 |
|
690 |
plt.figure()
|
691 |
+
plt.plot(df.index, df["y"])
|
692 |
plt.xlabel("Time")
|
693 |
plt.ylabel("Temperature (C)")
|
694 |
plt.title("Temperature vs Time")
|
|
|
705 |
utc_time = utc_time.replace(tzinfo=pytz.utc)
|
706 |
local_time = utc_time.astimezone(local_tz)
|
707 |
od["x"] = local_time.strftime("%Y-%m-%d %H:%M:%S")
|
708 |
+
df = pd.DataFrame(od_graph)
|
709 |
+
df = df.set_index("x")
|
710 |
|
711 |
plt.figure()
|
712 |
+
plt.plot(df.index, df["y"])
|
713 |
plt.xlabel("Time")
|
714 |
plt.ylabel("OD")
|
715 |
plt.title("OD vs Time")
|
|
|
726 |
utc_time = utc_time.replace(tzinfo=pytz.utc)
|
727 |
local_time = utc_time.astimezone(local_tz)
|
728 |
od["x"] = local_time.strftime("%Y-%m-%d %H:%M:%S")
|
729 |
+
df = pd.DataFrame(norm_od_graph)
|
730 |
+
df = df.set_index("x")
|
731 |
|
732 |
plt.figure()
|
733 |
+
plt.plot(df.index, df["y"])
|
734 |
plt.xlabel("Time")
|
735 |
plt.ylabel("Normalized OD")
|
736 |
plt.title("Normalized OD vs Time")
|
|
|
747 |
utc_time = utc_time.replace(tzinfo=pytz.utc)
|
748 |
local_time = utc_time.astimezone(local_tz)
|
749 |
gr["x"] = local_time.strftime("%Y-%m-%d %H:%M:%S")
|
750 |
+
df = pd.DataFrame(growth_rate_graph)
|
751 |
+
df = df.set_index("x")
|
752 |
|
753 |
plt.figure()
|
754 |
+
plt.plot(df.index, df["y"])
|
755 |
plt.xlabel("Time")
|
756 |
plt.ylabel("Growth Rate")
|
757 |
plt.title("Growth Rate vs Time")
|