From 079d9c13a4f938518b8d2b1256aab0cb4fcdeefc Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Mon, 22 Apr 2024 12:25:39 +1000 Subject: [PATCH] [markov_chains_II] MAINT: Update example4 graphviz figure (#423) --- .gitignore | 3 ++- .../graphviz/graphviz_generation.ipynb | 12 ++++++------ .../markov_chains_II/example4.png | Bin 4394 -> 4761 bytes 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 1140406f..f94768ac 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store lectures/_build -*/.ipynb_checkpoints/ +.ipynb_checkpoints/ +.virtual_documents/ _build/* diff --git a/lectures/_static/lecture_specific/graphviz/graphviz_generation.ipynb b/lectures/_static/lecture_specific/graphviz/graphviz_generation.ipynb index e9568364..03c74116 100644 --- a/lectures/_static/lecture_specific/graphviz/graphviz_generation.ipynb +++ b/lectures/_static/lecture_specific/graphviz/graphviz_generation.ipynb @@ -18,7 +18,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Requirement already satisfied: graphviz in /Users/humphreyyang/anaconda3/envs/quantecon/lib/python3.9/site-packages (0.20.1)\n" + "Requirement already satisfied: graphviz in /Users/mmcky/anaconda3/envs/quantecon/lib/python3.11/site-packages (0.20.3)\n" ] } ], @@ -289,7 +289,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 3, "id": "2d1becb5-6593-49e2-990f-e6a8799b7c2c", "metadata": {}, "outputs": [ @@ -299,7 +299,7 @@ "'../markov_chains_II/example4.png'" ] }, - "execution_count": 8, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -310,8 +310,8 @@ "dot.node(\"0\")\n", "dot.node(\"1\")\n", "\n", - "dot.edge(\"0\", \"1\", label=\"1.0\", color='red')\n", - "dot.edge(\"1\", \"0\", label=\"1.0\", color='red')\n", + "dot.edge(\"0\", \"1\", label=\"1.0\")\n", + "dot.edge(\"1\", \"0\", label=\"1.0\")\n", "\n", "dot\n", "dot.render(filename='../markov_chains_II/example4')" @@ -557,7 +557,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.16" + "version": "3.11.7" } }, "nbformat": 4, diff --git a/lectures/_static/lecture_specific/markov_chains_II/example4.png b/lectures/_static/lecture_specific/markov_chains_II/example4.png index 289022761285e7b50d6b4e12a33d59f086038a06..a7844b4b96bd35b6a102a52dd52568140773ad09 100644 GIT binary patch literal 4761 zcmW+)2Rzj8A3x&knX`9DWOgJg<77qlkBelF$jIIy&R%6^XPyxq5wZyx=WJO=$QB7H z|HuDz7{3f0ls*(snY-w1PecZZnM-jk_w#ADIfZe9a+t2Y-~K{2;ZElW<&7O?dRu=V}z0t1WL_LT45B+qZ-96 zC`d}#oq0$tGgE{Ph_34~G|bhFuBy8IR@R$5L(H;oIOlGmK?OHs9NQ%+0Re%#uWxj8 zG>N%|1rK9f=j!3|@-jp*KPfw#wcJQ(Vsdij2d+#|L`2QZjAhO9-rizc9GJ!OVq2gd zdNNsqk6F&=w&KNs>cf0Rj^OiSiQgignK2)GA&X3vtzOS&aKIk_CL0FUH3 zlNA5#+zB|@VVO@|WR=;67X~X&{P4nfZ=2AQ62YH;lNlTu+D4I@V1IZqaB)3){`~pc z?ye4)z0G5TJLBWyf>KhG&nJ~$0$OJUrW6e}w$CDSBV!L51wNDje{!9DN@Fc!vj zzESju16@=UUivUg1*}Y?>wI4$J1;LNo?YjyObTSocPZH6z@z=&xv);2d{%61?B-aZ zD%@*Rud=*cyx5?7xfLhWN31W9mSQBtFD6zide){@hQlUu$bISSi((W(B3Kimj1>S< zjZ94)jcE73HLFrnQyU?Xb2HLl8c2*|O0z91(MGPcggol(>}>7F56uWDRgroUCrd5n zddl0k4}E-m;0`0~m9@1F#&O7MX(3eF%}1pG&2XprdOHfTS1PFkw(H5|Oe1mun(*?? zmZ~aBD=Vvmg9D`p51;|R_grgU>Y$(Y#j|K=Yj;-|meI1YQCJ_|%#oIsez2RLn@bfM zd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