Skip to content

Commit 0912162

Browse files
committed
Cosmetic fixes
1 parent 8b23468 commit 0912162

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

04-code-vectorization.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ cleared it.
287287

288288
.. raw:: html
289289

290-
<video width="100%" controls>
291-
<source src="data/game-of-life.mp4" type="video/mp4">
292-
Your browser does not support the video tag. </video>
290+
<video width="100%" class="bordered" controls>
291+
<source src="data/game-of-life.mp4" type="video/mp4">
292+
Your browser does not support the video tag. </video>
293293

294294

295295

@@ -361,17 +361,17 @@ The figure below show some animation of the model for a specific set of paramete
361361

362362
.. raw:: html
363363

364-
<video width="33%" controls>
365-
<source src="data/gray-scott-1.mp4" type="video/mp4">
366-
Your browser does not support the video tag. </video>
364+
<video width="33%" controls>
365+
<source src="data/gray-scott-1.mp4" type="video/mp4">
366+
Your browser does not support the video tag. </video>
367367

368-
<video width="33%" controls>
369-
<source src="data/gray-scott-2.mp4" type="video/mp4">
370-
Your browser does not support the video tag. </video>
368+
<video width="33%" controls>
369+
<source src="data/gray-scott-2.mp4" type="video/mp4">
370+
Your browser does not support the video tag. </video>
371371

372-
<video width="33%" controls>
373-
<source src="data/gray-scott-3.mp4" type="video/mp4">
374-
Your browser does not support the video tag. </video>
372+
<video width="33%" controls>
373+
<source src="data/gray-scott-3.mp4" type="video/mp4">
374+
Your browser does not support the video tag. </video>
375375

376376

377377

book.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ <h3><a class="toc-backref" href="#id2">Numpy implementation</a></h3>
680680
<p class="last">The Game of Life. Gray levels indicate how much a cell has been active in
681681
the past.</p>
682682
</div>
683-
<video width="100%" controls>
683+
<video width="100%" class="bordered" controls>
684684
<source src="data/game-of-life.mp4" type="video/mp4">
685685
Your browser does not support the video tag. </video></div>
686686
<div class="section" id="exercise">
@@ -2647,7 +2647,7 @@ <h2><a class="toc-backref" href="#id34">Scipy &amp; co</a></h2>
26472647
additional packages for scipy. In fact, every domain of science probably has
26482648
its own package and most of the examples we've been studying until now could
26492649
have been solved in two or three calls to a method in the relevant package.
2650-
But of course, it was not the goal an programming things yourself is generally
2650+
But of course, it was not the goal and programming things yourself is generally
26512651
a good exercise if you have some spare time. The biggest difficulty at this
26522652
point is to find these relevant packages. Here is a very short list of packages
26532653
that are well-maintained, well-tested and may simplify your scientific life
@@ -2715,7 +2715,7 @@ <h2><a class="toc-backref" href="#id34">Conclusion</a></h2>
27152715
it in every situation. In this chapter, we've seen some alternatives (including
27162716
Python itself) that are worth a look. As always, the choice belongs to you. You
27172717
have to consider what is the best solution for you in term of development time,
2718-
computation time and effort in maintenance. In one hand, if you design your
2718+
computation time and effort in maintenance. On the one hand, if you design your
27192719
own solution, you'll have to test it and to maintain it, but in exchange,
27202720
you'll be free to design it the way you want. On the other hand, if you decide
27212721
to rely on a third-party package, you'll save time in development and benefit

0 commit comments

Comments
 (0)