Skip to content

Commit

Permalink
Merge branch 'master' into msoft_review
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor-96 authored Oct 4, 2023
2 parents 869e183 + 0726898 commit a9861c0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
15 changes: 11 additions & 4 deletions notebook/band-theory/brillouin_zone.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,14 @@
"\n",
"\n",
"m = nv.NGLWidget(width='400px', height='400px')\n",
"m.background='black'\n",
"\n",
"m.stage.set_parameters(**{\n",
" # percentages, start of fog and where on full effect\n",
" \"fogNear\": 100, \"fogFar\": 100,\n",
" # background color\n",
" \"backgroundColor\": \"white\",\n",
"})\n",
"\n",
"c1 = m.add_component(nv.ASEStructure(mat))\n",
"\n",
"m.clear()\n",
Expand Down Expand Up @@ -493,10 +500,10 @@
"b_slider.disabled=True\n",
"c_slider.disabled=True\n",
"\n",
"revert_lattice_params_button = Button(description=\"Revert lattice parameters.\")\n",
"revert_lattice_params_button = Button(description=\"Revert lattice parameters.\", layout = Layout(width='auto'))\n",
"revert_lattice_params_button.on_click(on_revert_lattice_params)\n",
"\n",
"save_lattice_params_button = Button(description=\"Save lattice parameters.\")\n",
"save_lattice_params_button = Button(description=\"Save lattice parameters.\", layout = Layout(width='auto'))\n",
"save_lattice_params_button.on_click(on_save_lattice_params)\n",
"\n",
"col2 = VBox([Text(value='Lattice parameters'),VBox([a_slider,b_slider,c_slider]), VBox([alpha_slider,beta_slider,gamma_slider, revert_lattice_params_button, save_lattice_params_button])])\n",
Expand Down Expand Up @@ -1073,7 +1080,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down
20 changes: 10 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
pip~=23.1
pip~=23.2
voila~=0.3.6
matplotlib~=3.6.3
numpy~=1.24.3
numpy~=1.26.0
ipympl~=0.8.8
scipy~=1.10.1
scipy~=1.11.2
voila-osscar-template~=0.3.2
Cython~=0.29.34
Cython~=3.0.2
sympy~=1.12
ase~=3.22.1
seekpath~=2.0.1
seekpath~=2.1.0
widget-bzvisualizer~=0.1.0b10
plotly~=5.14.1
pandas~=2.0.1
nglview~=3.0.4
plotly~=5.17.0
pandas~=2.1.1
nglview~=3.0.8
moviepy~=1.0.3
ipyevents~=2.0.1
ipython~=8.13.2
ipyevents~=2.0.2
ipython~=8.15.0

0 comments on commit a9861c0

Please sign in to comment.