Moments before disaster.

This commit is contained in:
lwark
2024-12-06 12:02:39 -06:00
parent 5fc02ffeec
commit 80527355d1
23 changed files with 157 additions and 325 deletions

View File

@@ -40,7 +40,6 @@ class IridaFigure(CustomFigure):
Returns:
Figure: output stacked bar chart.
"""
# fig = Figure()
for ii, mode in enumerate(modes):
if "count" in mode:
df[mode] = pd.to_numeric(df[mode], errors='coerce')

View File

@@ -1,8 +1,10 @@
"""
Construct turnaround time charts
"""
from pprint import pformat
from . import CustomFigure
import plotly.express as px
import pandas as pd
import numpy as np
from PyQt6.QtWidgets import QWidget
import logging
@@ -25,7 +27,6 @@ class TurnaroundChart(CustomFigure):
self.construct_chart()
if threshold:
self.add_hline(y=threshold)
# self.update_xaxes()
self.update_layout(showlegend=False)
def construct_chart(self, df: pd.DataFrame | None = None):