Skip to content

Commit 39c4577

Browse files
committed
add CSS on terminal screenshot
1 parent 24a379b commit 39c4577

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

lectures/getting_started.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ kernelspec:
1818
</div>
1919
```
2020

21+
<style>
22+
.auto {
23+
width: 70%;
24+
height: auto;
25+
}
26+
.terminal{
27+
width: 80%;
28+
height: auto;
29+
}
30+
</style>
31+
32+
2133
# Setting up Your Python Environment
2234

2335
```{index} single: Python
@@ -114,14 +126,6 @@ Because of these features, Jupyter is now a major player in the scientific compu
114126

115127
Here's an image showing execution of some code (borrowed from [here](http://matplotlib.org/examples/pylab_examples/hexbin_demo.html)) in a Jupyter notebook
116128

117-
118-
<style>
119-
.auto {
120-
width: 70%;
121-
height: auto;
122-
}
123-
</style>
124-
125129
```{figure} /_static/lecture_specific/getting_started/jp_demo.png
126130
:figclass: auto
127131
```
@@ -151,7 +155,7 @@ Either
151155
If you use the second option, you will see something like this
152156

153157
```{figure} /_static/lecture_specific/getting_started/starting_nb.png
154-
:scale: 60
158+
:figclass: terminal
155159
```
156160

157161
The output tells us the notebook is running at `http://localhost:8888/`

0 commit comments

Comments
 (0)