-# Copyright (c) 2022 Cisco and/or its affiliates.
+# Copyright (c) 2023 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
debug=True
).read_stats(days=C.NEWS_TIME_PERIOD)
- df_tst_info = pd.concat([data_mrr, data_ndrpdr], ignore_index=True)
+ df_tst_info = pd.concat(
+ [data_mrr, data_ndrpdr],
+ ignore_index=True,
+ copy=False
+ )
# Prepare information for the control panel:
self._jobs = sorted(list(df_tst_info["job"].unique()))
return dbc.Col(
id="col-plotting-area",
children=[
- dcc.Loading(
+ dbc.Spinner(
children=[
dbc.Row(
id="plotting-area",
:rtype: list
"""
return [
- dbc.Label(
- class_name="g-0 p-1",
- children=show_tooltip(
- self._tooltips,
- "help-summary-period",
- "Window"
- )
- ),
dbc.Row(
class_name="g-0 p-1",
children=[
[
dbc.Button(
id="plot-btn-url",
- children="URL",
+ children="Show URL",
class_name="me-1",
color="info",
style={