Skip to content

Commit 5d147fe

Browse files
committed
resize image
1 parent e613843 commit 5d147fe

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed
Loading

lectures/_static/lecture_specific/markov_chains_II/figures.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
},
5454
{
5555
"cell_type": "code",
56-
"execution_count": 9,
56+
"execution_count": 6,
5757
"id": "336c4249-48bc-41b9-9e88-77b12bdd60a8",
5858
"metadata": {},
5959
"outputs": [
@@ -76,13 +76,13 @@
7676
" edgecolors='black',\n",
7777
" node_size=5000,\n",
7878
" linewidths=1,\n",
79-
" connectionstyle='arc3,rad=0.2'\n",
79+
" connectionstyle='arc3,rad=0.2' \n",
8080
" )\n",
8181
"nx.draw_networkx_edge_labels(G, \n",
8282
" pos, \n",
8383
" edge_labels=edge_labels, \n",
8484
" connectionstyle='arc3,rad=0.2')\n",
85-
"plt.savefig('example4.png', dpi=200)"
85+
"plt.savefig('example4.png', dpi=200, bbox_inches=\"tight\")"
8686
]
8787
},
8888
{

lectures/markov_chains_II.md

+1
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ The transition graph shows that this model is irreducible.
295295
```{image} /_static/lecture_specific/markov_chains_II/example4.png
296296
:name: mc_example4
297297
:align: center
298+
:scale: 80%
298299
```
299300

300301
Notice that there is a periodic cycle --- the state cycles between the two states in a regular way.

0 commit comments

Comments
 (0)