This commit is contained in:
yash 2019-08-29 17:00:07 -04:00
Родитель 3b2973d813
Коммит 523ca48e67
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -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",