Skip to content

Commit ac4eab7

Browse files
committed
improved the figure
1 parent 0e31ab0 commit ac4eab7

File tree

8 files changed

+22
-14
lines changed

8 files changed

+22
-14
lines changed

docs/sphinx/source/tutorials/figures/level1/breaking-a-carbon-nanotube/length-unbreakable-pyplot.ipynb

Lines changed: 15 additions & 7 deletions
Large diffs are not rendered by default.
Loading
Loading

docs/sphinx/source/tutorials/figures/level1/lennard-jones-fluid/energy-pyplot.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
},
131131
{
132132
"cell_type": "code",
133-
"execution_count": 5,
133+
"execution_count": 4,
134134
"id": "7c651210",
135135
"metadata": {},
136136
"outputs": [
@@ -150,7 +150,7 @@
150150
"dark_mode = False\n",
151151
"myplt = PltTools()\n",
152152
"myplt.prepare_figure(fig_size = (12,8), dark_mode = dark_mode,\n",
153-
" transparency = True, use_serif=False, n_line=2)\n",
153+
" transparency = False, use_serif=False, n_line=2)\n",
154154
"myplt.add_panel()\n",
155155
"myplt.add_plot(x = Time_EM[::4], y = PotEng_EM[::4], type = \"plot\", linewidth_data = 3,\n",
156156
" marker = \"o\", data_color = 1, markersize = 12,\n",
@@ -194,7 +194,7 @@
194194
"name": "python",
195195
"nbconvert_exporter": "python",
196196
"pygments_lexer": "ipython3",
197-
"version": "3.0.0"
197+
"version": "3.12.3"
198198
},
199199
"vscode": {
200200
"interpreter": {

docs/sphinx/source/tutorials/level1/breaking-a-carbon-nanotube.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -631,13 +631,13 @@ Data extraction
631631
The length :math:`L` of the CNT increase linearly over
632632
time for :math:`t > 5\,\text{ps}`, as expected from the imposed constant velocity.
633633

634-
.. figure:: ../figures/level1/breaking-a-carbon-nanotube/length-unbreakable-dark.png
634+
.. figure:: ../figures/level1/breaking-a-carbon-nanotube/length-unbreakable.png
635635
:alt: length of the CNT with time - lammps molecular dynamics
636-
:class: only-dark
636+
:class: only-light
637637

638-
.. figure:: ../figures/level1/breaking-a-carbon-nanotube/length-unbreakable-light.png
638+
.. figure:: ../figures/level1/breaking-a-carbon-nanotube/length-unbreakable-dm.png
639639
:alt: length of the CNT with time - lammps molecular dynamics
640-
:class: only-light
640+
:class: only-dark
641641

642642
.. container:: figurelegend
643643

0 commit comments

Comments
 (0)