Moments before disaster.
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user