We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90f2370 commit 430545eCopy full SHA for 430545e
packages/python/plotly/plotly/io/_sg_scraper.py
@@ -88,6 +88,8 @@ def figure_rst(figure_list, sources_dir):
88
for figure_path in figure_list
89
]
90
images_rst = ""
91
+ if not figure_paths:
92
+ return images_rst
93
figure_name = figure_paths[0]
94
ext = os.path.splitext(figure_name)[1]
95
figure_path = os.path.join("images", os.path.basename(figure_name))
0 commit comments