Thanks to visit codestin.com Credit goes to github.com
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 86fb167 commit e0be21eCopy full SHA for e0be21e
1 file changed
lib/matplotlib/sphinxext/plot_directive.py
@@ -640,6 +640,11 @@ def _parse_srcset(entries):
640
def check_output_base_name(env, output_base):
641
docname = env.docname
642
643
+ if '.' in output_base or '/' in output_base:
644
+ raise PlotError(
645
+ f"The output-base-name '{output_base}' is invalid. "
646
+ f"It must not contain dots or slashes.")
647
+
648
for d in env.mpl_custom_base_names:
649
if output_base in env.mpl_custom_base_names[d]:
650
if d == docname:
0 commit comments