File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3737 image_file = paper ["image" ]
3838
3939 if image_file .startswith ("http" ):
40- image_url = image_file
40+ absolute_image_file = image_file
4141 else :
42- image_url = f". /images/{ image_file } "
42+ absolute_image_file = f"/images/{ image_file } "
4343
4444 # Begin:
4545 paper_snippet = f"""
4646
4747<div style="text-align: center; margin: 2rem 0;">
48- <img src="{ image_url } " alt="{ title } " style="max-width: 500px; width: 100%; height: auto; margin: 0 auto; display: block;">
48+ <img src="{ absolute_image_file } " alt="{ title } " style="max-width: 500px; width: 100%; height: auto; margin: 0 auto; display: block;">
4949 <h2 style="margin-top: 1rem;">
5050 <a href="{ link } ">{ title } </a>
5151 </h2>
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ plt.show()
7575
7676Which gives us:
7777
78- ![ Truth vs Prediction] ( . /images/example_plot.png)
78+ ![ Truth vs Prediction] ( /images/example_plot.png )
7979
8080We may also plot the output of a particular expression
8181by passing the index of the expression to ` predict ` (or
You can’t perform that action at this time.
0 commit comments