Skip to content

Commit

Permalink
deploy: 848d4ee
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-morris committed Jun 14, 2024
1 parent 2d4d7ad commit 51650b6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
File renamed without changes
Binary file added _images/fig-01-demand-q1-p1-q2-p2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions _sources/content/01-demand/01-demand.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,15 @@
"plt.xlim([-0.5, 10.5])\n",
"plt.ylim([-25, 10])\n",
"plt.legend()\n",
"fig.savefig('orig-shifted-demand.png', bbox_inches='tight')\n",
"fig.savefig('fig-01-demand-orig-shifted-demand.png', bbox_inches='tight')\n",
"plt.close(fig) \n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```{figure} orig-shifted-demand.png\n",
"```{figure} fig-01-demand-orig-shifted-demand.png\n",
"---\n",
"name: orig-shifted-demand.png\n",
"alt: Graph of shifting demand curve\n",
Expand Down Expand Up @@ -155,7 +155,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 6,
"metadata": {
"tags": [
"remove_input"
Expand All @@ -169,7 +169,7 @@
"q_1, p_1 = 1, 5\n",
"q_2, p_2 = 8, -16\n",
"\n",
"plt.figure(figsize=[7,7])\n",
"fig = plt.figure(figsize=[7,7])\n",
"plt.plot(xs, ys)\n",
"plt.scatter([q_1, q_2], [p_1, p_2], s=200, color=\"g\", zorder=15)\n",
"plt.arrow(q_1, p_1, q_2 - q_1, p_2 - p_1, color=\"tab:orange\", width=.1, head_length=1.5, head_width=0.5, length_includes_head=True, zorder=-1)\n",
Expand All @@ -188,17 +188,17 @@
"plt.ylabel(\"Price\", size=16)\n",
"plt.xlim([-0.5, 10.5])\n",
"plt.ylim([-25, 10])\n",
"fig.savefig('demand-q1-p1-q2-p2.png', bbox_inches='tight')\n",
"fig.savefig('fig-01-demand-q1-p1-q2-p2.png', bbox_inches='tight')\n",
"plt.close(fig) "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```{figure} demand-q1-p1-q2-p2.png\n",
"```{figure} fig-01-demand-q1-p1-q2-p2.png\n",
"---\n",
"name: demand-q1-p1-q2-p2.png\n",
"name: fig-01-demand-q1-p1-q2-p2.png\n",
"alt: Graph of demand curve illustrating change in quantity purchased(q1) at price one(p1) to quanitity purchased(q2) at price two (p2)\n",
"---\n",
"Fig. Graph of a shifting demand curve as prices changes -- all other factors constant\n",
Expand Down
8 changes: 4 additions & 4 deletions content/01-demand/01-demand.html
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ <h3>Shifts in the Demand Curve<a class="headerlink" href="#shifts-in-the-demand-
<div class="cell tag_remove_input docutils container">
</div>
<figure class="align-default" id="orig-shifted-demand-png">
<img alt="Graph of shifting demand curve" src="../../_images/orig-shifted-demand.png" />
<img alt="Graph of shifting demand curve" src="../../_images/fig-01-demand-orig-shifted-demand.png" />
<figcaption>
<p><span class="caption-number">Fig. 1 </span><span class="caption-text">Fig. Graph of a shifting demand curve</span><a class="headerlink" href="#orig-shifted-demand-png" title="Link to this image">#</a></p>
</figcaption>
Expand All @@ -533,10 +533,10 @@ <h3>Movements along the Demand Curve<a class="headerlink" href="#movements-along
<p>[Following image is a graph of a shift along a demand curve]</p>
<div class="cell tag_remove_input docutils container">
</div>
<figure class="align-default" id="demand-q1-p1-q2-p2-png">
<img alt="Graph of demand curve illustrating change in quantity purchased(q1) at price one(p1) to quanitity purchased(q2) at price two (p2)" src="content/01-demand/demand-q1-p1-q2-p2.png" />
<figure class="align-default" id="fig-01-demand-q1-p1-q2-p2-png">
<img alt="Graph of demand curve illustrating change in quantity purchased(q1) at price one(p1) to quanitity purchased(q2) at price two (p2)" src="../../_images/fig-01-demand-q1-p1-q2-p2.png" />
<figcaption>
<p><span class="caption-number">Fig. 2 </span><span class="caption-text">Fig. Graph of a shifting demand curve as prices changes – all other factors constant</span><a class="headerlink" href="#demand-q1-p1-q2-p2-png" title="Link to this image">#</a></p>
<p><span class="caption-number">Fig. 2 </span><span class="caption-text">Fig. Graph of a shifting demand curve as prices changes – all other factors constant</span><a class="headerlink" href="#fig-01-demand-q1-p1-q2-p2-png" title="Link to this image">#</a></p>
</figcaption>
</figure>
</section>
Expand Down
Binary file modified objects.inv
Binary file not shown.

0 comments on commit 51650b6

Please sign in to comment.