Comply to Python formatting

Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: 2babc6baaa]
This commit is contained in:
coleramos425
2023-05-02 15:13:19 -05:00
والد 02bd40a843
کامیت 96bc27feb1
2فایلهای تغییر یافته به همراه8 افزوده شده و 5 حذف شده
@@ -54,9 +54,7 @@ HIDDEN_COLUMNS = ["Tips", "coll_level"]
IS_DARK = True # default dark theme
# Define any elements which will have full width
full_width_elmt = {
1801
}
full_width_elmt = {1801}
# Define different types of bar charts
barchart_elements = {
@@ -589,7 +587,11 @@ def build_layout(
if table_config["id"] in full_width_elmt:
# Optionally override default (50%) width
html_section.append(
html.Div(className="float-child", children=content, style={"width": "100%"})
html.Div(
className="float-child",
children=content,
style={"width": "100%"},
)
)
else:
html_section.append(
@@ -135,7 +135,8 @@ def to_median(a):
return a.median()
else:
raise Exception("to_median: unsupported type.")
def to_std(a):
if isinstance(a, pd.core.series.Series):
return a.std()