Version 0.17

This commit is contained in:
rskoupy
2023-12-07 17:41:04 +01:00
parent 5840b89855
commit 689c16d3bd
2 changed files with 35 additions and 34 deletions

View File

@ -2,10 +2,19 @@
"cells": [
{
"cell_type": "code",
"execution_count": 462,
"execution_count": 1,
"id": "7425242d-3c91-4c1e-a424-08625a38ee7a",
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\skoupy_r\\Anaconda3\\lib\\site-packages\\scipy\\__init__.py:155: UserWarning: A NumPy version >=1.18.5 and <1.25.0 is required for this version of SciPy (detected version 1.26.1\n",
" warnings.warn(f\"A NumPy version >={np_minversion} and <{np_maxversion}\"\n"
]
}
],
"source": [
"### Initial packages import ###################################################\n",
"import numpy as np\n",
@ -16,7 +25,7 @@
"from pandas import read_excel\n",
"from IPython.display import display\n",
"from plotly.subplots import make_subplots\n",
"from ipywidgets import interactive_output, HBox, VBox, Layout, Label, Valid, ToggleButtons, RadioButtons, Dropdown, IntSlider, Checkbox\n",
"from ipywidgets import interactive_output, HBox, VBox, Layout, Label, Valid, ToggleButtons, RadioButtons, Dropdown, IntSlider, Checkbox, Button, ButtonStyle, GridBox\n",
"\n",
"# print(\"Numpy version \", np.__version__)\n",
"# print(\"Pandas version \", pd.__version__)\n",
@ -291,7 +300,7 @@
},
{
"cell_type": "code",
"execution_count": 758,
"execution_count": 2,
"id": "8055b802-cf83-4250-aea9-54e3e6b73db0",
"metadata": {},
"outputs": [],
@ -366,6 +375,8 @@
"\n",
"# SMALL CONTROLS\n",
"\n",
"descr = '50px'\n",
"butt = '30px'\n",
"\n",
"header = Button(description='Graph controls',layout=Layout(width='auto', grid_area='header'),style=ButtonStyle(button_color='whitesmoke'))\n",
"\n",
@ -828,20 +839,20 @@
"\n",
"### Start the interactive gui by running the field\n",
"```python\n",
"display(HBox([controls, gui]))\n",
"display(HBox([controls, VBox([small_controls, gui]) ]))\n",
"```"
]
},
{
"cell_type": "code",
"execution_count": 759,
"execution_count": 3,
"id": "7937f054-fcd0-4e67-a20f-7696f5903a94",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "164f877a365543aea26b5fecf9a80a1c",
"model_id": "8710f7e77b2e4d7db347f1bf287dba25",
"version_major": 2,
"version_minor": 0
},
@ -877,27 +888,6 @@
"# import ipywidgets\n",
"# print(\"Ipywidgets version \", ipywidgets.__version__)"
]
},
{
"cell_type": "code",
"execution_count": 736,
"id": "df751153-70c4-47a8-801c-3a96d813399e",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'55px'"
]
},
"execution_count": 752,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"str(int(graph_size.value/100*62))+'px'"
]
}
],
"metadata": {

View File

@ -2,10 +2,19 @@
"cells": [
{
"cell_type": "code",
"execution_count": 462,
"execution_count": 1,
"id": "7425242d-3c91-4c1e-a424-08625a38ee7a",
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"C:\\Users\\skoupy_r\\Anaconda3\\lib\\site-packages\\scipy\\__init__.py:155: UserWarning: A NumPy version >=1.18.5 and <1.25.0 is required for this version of SciPy (detected version 1.26.1\n",
" warnings.warn(f\"A NumPy version >={np_minversion} and <{np_maxversion}\"\n"
]
}
],
"source": [
"### Initial packages import ###################################################\n",
"import numpy as np\n",
@ -16,7 +25,7 @@
"from pandas import read_excel\n",
"from IPython.display import display\n",
"from plotly.subplots import make_subplots\n",
"from ipywidgets import interactive_output, HBox, VBox, Layout, Label, Valid, ToggleButtons, RadioButtons, Dropdown, IntSlider, Checkbox\n",
"from ipywidgets import interactive_output, HBox, VBox, Layout, Label, Valid, ToggleButtons, RadioButtons, Dropdown, IntSlider, Checkbox, Button, ButtonStyle, GridBox\n",
"\n",
"# print(\"Numpy version \", np.__version__)\n",
"# print(\"Pandas version \", pd.__version__)\n",
@ -291,7 +300,7 @@
},
{
"cell_type": "code",
"execution_count": 761,
"execution_count": 2,
"id": "8055b802-cf83-4250-aea9-54e3e6b73db0",
"metadata": {},
"outputs": [],
@ -366,6 +375,8 @@
"\n",
"# SMALL CONTROLS\n",
"\n",
"descr = '50px'\n",
"butt = '30px'\n",
"\n",
"header = Button(description='Graph controls',layout=Layout(width='auto', grid_area='header'),style=ButtonStyle(button_color='whitesmoke'))\n",
"\n",
@ -834,14 +845,14 @@
},
{
"cell_type": "code",
"execution_count": 762,
"execution_count": 3,
"id": "7937f054-fcd0-4e67-a20f-7696f5903a94",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "8cc6b115d9154a9dbe2bd574fa3755cc",
"model_id": "8710f7e77b2e4d7db347f1bf287dba25",
"version_major": 2,
"version_minor": 0
},