Skip to content

Commit

Permalink
Update qprof-ui.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
mail4umar committed Aug 1, 2024
1 parent 188ff21 commit 6eae588
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions project/ui/qprof-ui.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,11 @@
" plot_bgcolor='rgba(0,0,0,0)' # Transparent plot background\n",
" )\n",
" return fig\n",
"\n"
"\n",
"try:\n",
" drop_down_query_select = qprof.query_select_dropdown\n",
"except Exception as e:\n",
" drop_down_query_select = widgets.HTML(f\"<p style='color:red'>The following error occured: </p> <p> {e}</p>\")"
]
},
{
Expand All @@ -865,7 +869,7 @@
"tabs = widgets.Tab()\n",
"\n",
"child_1 = widgets.VBox([output_tree])\n",
"child_2 = widgets.VBox([qprof.query_select_dropdown, button_query_stats, output_query_stats, out_apply_button])\n",
"child_2 = widgets.VBox([drop_down_query_select, button_query_stats, output_query_stats, out_apply_button])\n",
"child_3 = widgets.VBox([button_get_queries, output_get_queries])\n",
"child_4 = widgets.VBox([tables])\n",
"child_5 = widgets.VBox([plot_tabs])\n",
Expand Down

0 comments on commit 6eae588

Please sign in to comment.