Skip to content

Commit

Permalink
Skip special handling
Browse files Browse the repository at this point in the history
  • Loading branch information
oscargus committed Jun 3, 2023
1 parent 370bc6b commit 70c3249
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sphinx_gallery/scrapers.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,7 @@ def figure_rst(figure_list, sources_dir, fig_titles='', srcsetpaths=None,
figure_name = figure_paths[0]
hinames = srcsetpaths[0]
srcset = _get_srcset_st(sources_dir, hinames)
if svg_image:
images_rst = SVG_IMAGE % (figure_name, alt)
else:
images_rst = SG_IMAGE % (figure_name, alt, srcset)
images_rst = SG_IMAGE % (figure_name, alt, srcset)
elif len(figure_paths) > 1:
images_rst = HLIST_HEADER
for nn, figure_name in enumerate(figure_paths):
Expand Down

0 comments on commit 70c3249

Please sign in to comment.