Skip to content

Commit

Permalink
Use HTML instead of Markdown for Figure 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Aug 1, 2023
1 parent 4f2c10a commit 708113a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lessons/python/7_oop.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@
"tags": []
},
"source": [
"![Shapes UML diagram](./media/shapes-uml-diagram.png \"UML class diagrams for Shape, Circle, Rectangle, and Square.\")\n",
"\n",
"*Figure 2: Class diagrams for Shape, Circle, Rectangle, and Square.*"
"<figure>\n",
" <img src=\"https://raw.githubusercontent.com/csdms/ivy/main/lessons/python/media/shapes-uml-diagram.png\" alt=\"UML class diagrams for Shape, Circle, Rectangle, and Square.\"/>\n",
" <figcaption><i>Figure 2: Class diagrams for Shape, Circle, Rectangle, and Square.</i></figcaption>\n",
"</figure>"
]
},
{
Expand Down

0 comments on commit 708113a

Please sign in to comment.