Skip to content

Commit

Permalink
[markov_chains_II] MAINT: Update example4 graphviz figure (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcky authored Apr 22, 2024
1 parent 82204c7 commit 079d9c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
lectures/_build
*/.ipynb_checkpoints/
.ipynb_checkpoints/
.virtual_documents/
_build/*
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
],
Expand Down Expand Up @@ -289,7 +289,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 3,
"id": "2d1becb5-6593-49e2-990f-e6a8799b7c2c",
"metadata": {},
"outputs": [
Expand All @@ -299,7 +299,7 @@
"'../markov_chains_II/example4.png'"
]
},
"execution_count": 8,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -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')"
Expand Down Expand Up @@ -557,7 +557,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.16"
"version": "3.11.7"
}
},
"nbformat": 4,
Expand Down
Binary file modified lectures/_static/lecture_specific/markov_chains_II/example4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 079d9c1

Please sign in to comment.