Skip to content

Commit

Permalink
tweak: font sizes on image display
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Look committed Feb 18, 2024
1 parent 4c4b6d1 commit f8737db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbs/11_display.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@
" label = labels[i] if labels is not None else i\n",
" img_html = _image_html(url, w=w, domain=domain)\n",
" s += \"\"\"<div style=\"margin-right:10px; margin-top: 4px;\">\n",
" <p style=\"align:center; color: #999999\">{label}</p>\n",
" <p style=\"align:center; color: #999999; font-size: 11px\">{label}</p>\n",
" <br/>\n",
" {img_html}\n",
" </div>\"\"\".format(**locals())\n",
Expand Down
2 changes: 1 addition & 1 deletion singleline_stroke3/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def image_urls(urls, labels=None, domain=None, w=None):
label = labels[i] if labels is not None else i
img_html = _image_html(url, w=w, domain=domain)
s += """<div style="margin-right:10px; margin-top: 4px;">
<p style="align:center; color: #999999">{label}</p>
<p style="align:center; color: #999999; font-size: 11px">{label}</p>
<br/>
{img_html}
</div>""".format(
Expand Down

0 comments on commit f8737db

Please sign in to comment.