From 63a91f904036dd968465e5133fa35d132cc982fa Mon Sep 17 00:00:00 2001 From: sp9unb Date: Thu, 13 Oct 2022 11:02:29 +0200 Subject: [PATCH] widget layout --- notebooks/hotair-box.ipynb | 21 +++++++++++---------- notebooks/hotair-pyramid.ipynb | 2 +- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/notebooks/hotair-box.ipynb b/notebooks/hotair-box.ipynb index 4532993..f27beb4 100644 --- a/notebooks/hotair-box.ipynb +++ b/notebooks/hotair-box.ipynb @@ -30,7 +30,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "6ea87a15-f571-4611-8487-5b7556e2ef45", "metadata": { "extensions": { @@ -68,7 +68,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "id": "d075a994-76bb-46f7-bdfb-cc6ef449dc43", "metadata": { "extensions": { @@ -107,7 +107,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 9, "id": "2f3b63fd-d5ea-40b6-a2f9-b31c84cfef36", "metadata": { "extensions": { @@ -129,7 +129,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "", + "model_id": "3f07d16568084521b394d029bb354e83", "version_major": 2, "version_minor": 0 }, @@ -137,7 +137,7 @@ "VBox(children=(FloatSlider(value=2.0, description='Width [m]:', layout=Layout(width='500px'), max=5.0, min=0.1…" ] }, - "execution_count": 31, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -146,7 +146,7 @@ "def f(width,height,depth,airTemp,hotAirTemp,coatDens):\n", " \n", " \n", - " out=widgets.Output(layout={'margin': '10px 10px 10px 10px'}) \n", + " out=widgets.Output(layout={'margin': '10px 10px 10px 20px'}) \n", " with out: \n", " print(\"\\n\")\n", " # Volume\n", @@ -198,15 +198,16 @@ " alpha=True,\n", " clearOpacity=1.0,\n", " clearColor='#62a0ea',\n", - " controls=[OrbitControls(controlling=c)])\n", + " controls=[OrbitControls(controlling=c)]\n", + " )\n", " \n", " display(widgets.HBox([renderer, out])) \n", "# return renderer\n", "\n", "\n", - "#display(HTML(''''''))\n", + " display(HTML(''''''))\n", "\n", "layout=Layout(width='500px')\n", "style = {'description_width': 'initial'}\n", diff --git a/notebooks/hotair-pyramid.ipynb b/notebooks/hotair-pyramid.ipynb index 9958344..082c459 100644 --- a/notebooks/hotair-pyramid.ipynb +++ b/notebooks/hotair-pyramid.ipynb @@ -162,7 +162,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "bedefd6b566a49efbb902f1ee4ce51a0", + "model_id": "5478a07a77934741aca7e530640992ac", "version_major": 2, "version_minor": 0 },