From 427969180ff6be8bdd812fc354b8dafea75626cb Mon Sep 17 00:00:00 2001
From: unknown <asoalexandros@gmail.com>
Date: Tue, 19 Nov 2024 16:18:39 +0100
Subject: [PATCH] Enclosed parameters in a tab

---
 hp4194/test_interface.ipynb | 49 +++++++++++--------------------------
 1 file changed, 14 insertions(+), 35 deletions(-)

diff --git a/hp4194/test_interface.ipynb b/hp4194/test_interface.ipynb
index ce5fc1f..60b6db3 100644
--- a/hp4194/test_interface.ipynb
+++ b/hp4194/test_interface.ipynb
@@ -23,31 +23,6 @@
   {
    "cell_type": "code",
    "execution_count": 3,
-   "id": "fe5d37b6-509f-4408-9805-1fee6af4a9f2",
-   "metadata": {},
-   "outputs": [
-    {
-     "data": {
-      "application/vnd.jupyter.widget-view+json": {
-       "model_id": "63fe9dced8874530abac65a94f995952",
-       "version_major": 2,
-       "version_minor": 0
-      },
-      "text/plain": [
-       "GridspecLayout(children=(Label(value='Probendaten', layout=Layout(grid_area='widget001', height='auto', width=…"
-      ]
-     },
-     "metadata": {},
-     "output_type": "display_data"
-    }
-   ],
-   "source": [
-    "display(sample)"
-   ]
-  },
-  {
-   "cell_type": "code",
-   "execution_count": 4,
    "id": "ee6f1392-5976-430b-a26b-b594de19011c",
    "metadata": {},
    "outputs": [],
@@ -57,8 +32,8 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 5,
-   "id": "4d4f47be-8c15-4b65-9bf8-8439aeaa840a",
+   "execution_count": 4,
+   "id": "77f6a2b9-5837-4144-93ce-1a68d74fe370",
    "metadata": {},
    "outputs": [],
    "source": [
@@ -67,19 +42,19 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 6,
-   "id": "1627f28b-c64d-4a37-94eb-339917b5f140",
+   "execution_count": 5,
+   "id": "61d429a5-3be8-41e2-84af-7fd69862d936",
    "metadata": {},
    "outputs": [
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "bf54c84eafc84f9ca9da42884ebd0f2c",
+       "model_id": "2f70ab8cc84b418ba27976417af31dac",
        "version_major": 2,
        "version_minor": 0
       },
       "text/plain": [
-       "HBox(children=(GridspecLayout(children=(Label(value='Sweep Parameter', layout=Layout(grid_area='widget001', he…"
+       "Tab(children=(VBox(children=(GridspecLayout(children=(Label(value='Probendaten', layout=Layout(grid_area='widg…"
       ]
      },
      "metadata": {},
@@ -87,19 +62,23 @@
     }
    ],
    "source": [
-    "display(widgets.HBox([sweep_parameter,messparameter]))"
+    "tab = widgets.Tab()\n",
+    "children = [widgets.VBox([sample,widgets.HBox([sweep_parameter,messparameter])])]\n",
+    "tab.children = children\n",
+    "tab.set_title(0,'CV-measurement')\n",
+    "display(tab)"
    ]
   },
   {
    "cell_type": "code",
-   "execution_count": 7,
+   "execution_count": 6,
    "id": "81c3319b-4581-44c5-9849-89dd97714d22",
    "metadata": {},
    "outputs": [
     {
      "data": {
       "application/vnd.jupyter.widget-view+json": {
-       "model_id": "77e41ee2bf274a539ef385c20f5187e5",
+       "model_id": "174105988c5c4b568167af0f9ec57080",
        "version_major": 2,
        "version_minor": 0
       },
@@ -121,7 +100,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "id": "61d429a5-3be8-41e2-84af-7fd69862d936",
+   "id": "7f308fc0-43e6-4794-b6fd-15e47079c5cb",
    "metadata": {},
    "outputs": [],
    "source": []
-- 
GitLab