Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc7e8507

Browse files
QuLogicmeeseeksmachine
authored andcommitted
Backport PR#20748: Ensure _static directory exists before copying CSS.
1 parent51989b4 commitc7e8507

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ def _copy_css_file(app, exc):
258258
ifexcisNoneandapp.builder.format=='html':
259259
src=cbook._get_data_path('plot_directive/plot_directive.css')
260260
dst=app.outdir/Path('_static')
261+
dst.mkdir(exist_ok=True)
261262
shutil.copy(src,dst)
262263

263264

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp