File tree 2 files changed +16
-14
lines changed 2 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 44
44
_log = logging .getLogger (__name__ )
45
45
46
46
# Process creation flag for subprocess to prevent it raising a terminal
47
- # window. See for example:
48
- # https://stackoverflow.com/q/24130623/
49
- if sys .platform == 'win32' :
50
- subprocess_creation_flags = CREATE_NO_WINDOW = 0x08000000
51
- else :
52
- # Apparently None won't work here
53
- subprocess_creation_flags = 0
47
+ # window. See for example https://stackoverflow.com/q/24130623/
48
+ subprocess_creation_flags = (
49
+ subprocess .CREATE_NO_WINDOW if sys .platform == 'win32' else 0 )
54
50
55
51
# Other potential writing methods:
56
52
# * http://pymedia.org/
Original file line number Diff line number Diff line change 768
768
#animation.bitrate: -1 # Controls size/quality trade-off for movie.
769
769
# -1 implies let utility auto-determine
770
770
#animation.frame_format: png # Controls frame format used by temp files
771
- #animation.ffmpeg_path: ffmpeg # Path to ffmpeg binary. Without full path
772
- # $PATH is searched
773
- #animation.ffmpeg_args: # Additional arguments to pass to ffmpeg
774
- #animation.convert_path: convert # Path to ImageMagick's convert binary.
775
- # On Windows use the full path since convert
776
- # is also the name of a system tool.
777
- #animation.convert_args: # Additional arguments to pass to convert
771
+
772
+ ## Path to ffmpeg binary. Unqualified paths are resolved by subprocess.Popen.
773
+ #animation.ffmpeg_path: ffmpeg
774
+ ## Additional arguments to pass to ffmpeg.
775
+ #animation.ffmpeg_args:
776
+
777
+ ## Path to ImageMagick's convert binary. Unqualified paths are resolved by
778
+ ## subprocess.Popen, except that on Windows, we look up an install of
779
+ ## ImageMagick in the registry (as convert is also the name of a system tool).
780
+ #animation.convert_path: convert
781
+ ## Additional arguments to pass to convert.
782
+ #animation.convert_args:
783
+ #
778
784
#animation.embed_limit: 20.0 # Limit, in MB, of size of base64 encoded
779
785
# animation in HTML (i.e. IPython notebook)
You can’t perform that action at this time.
0 commit comments