We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20bed26 commit 7f56c94Copy full SHA for 7f56c94
lib/matplotlib/sphinxext/plot_directive.py
@@ -638,7 +638,7 @@ def _parse_srcset(entries):
638
def check_output_base_name(env, output_base):
639
docname = env.docname
640
641
- if '.' in output_base or '/' in output_base:
+ if '.' in output_base or '/' in output_base or '\\' in output_base:
642
raise PlotError(
643
f"The image-basename '{output_base}' is invalid. "
644
f"It must not contain dots or slashes.")
0 commit comments