This commit is contained in:
Родитель
3b2973d813
Коммит
523ca48e67
|
@ -42,7 +42,6 @@
|
|||
"!pip install azure-kusto-notebooks plotly\n",
|
||||
"import os\n",
|
||||
"from azure.kusto.notebooks import utils as akn\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"import pandas as pd\n",
|
||||
"pd.options.display.html.table_schema = True\n",
|
||||
"\n",
|
||||
|
@ -161,6 +160,7 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"# draw all slas\n",
|
||||
"from _plotly_future_ import v4_subplots\n",
|
||||
"from plotly.subplots import make_subplots\n",
|
||||
"import plotly.graph_objects as go\n",
|
||||
"import math\n",
|
||||
|
@ -181,8 +181,6 @@
|
|||
" name = names[i]\n",
|
||||
" \n",
|
||||
" df = slas[0].dataframe\n",
|
||||
" print(row)\n",
|
||||
" print(col)\n",
|
||||
" fig.add_trace(go.Bar(x=df.PhaseName, y=df.PercentDifference, name=name), \n",
|
||||
" row=row, col=col)\n",
|
||||
" fig.update_xaxes(showgrid=False, tickangle=-60, automargin=True)\n",
|
||||
|
|
Загрузка…
Ссылка в новой задаче