File tree Expand file tree Collapse file tree 2 files changed +16
-14
lines changed
Expand file tree Collapse file tree 2 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 4444_log = logging .getLogger (__name__ )
4545
4646# 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 )
5450
5551# Other potential writing methods:
5652# * http://pymedia.org/
Original file line number Diff line number Diff line change 768768#animation.bitrate: -1 # Controls size/quality trade-off for movie.
769769 # -1 implies let utility auto-determine
770770#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+ #
778784#animation.embed_limit: 20.0 # Limit, in MB, of size of base64 encoded
779785 # animation in HTML (i.e. IPython notebook)
You can’t perform that action at this time.
0 commit comments