File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,11 @@ Support for HiDPI (Retina) displays in the NbAgg and WebAgg backends
216
216
The NbAgg and WebAgg backends will now use the full resolution of your
217
217
high-pixel-density display.
218
218
219
+ Change in the default animation codec
220
+ -------------------------------------
221
+
222
+ The default animation codec has been changed from ``mpeg4 `` to ``h264 ``,
223
+ which is more efficient. It can be set via the ``animation.codec `` rcParam.
219
224
220
225
221
226
Previous Whats New
Original file line number Diff line number Diff line change @@ -1324,7 +1324,7 @@ def validate_animation_writer_path(p):
1324
1324
# Animation settings
1325
1325
'animation.html' : ['none' , validate_movie_html_fmt ],
1326
1326
'animation.writer' : ['ffmpeg' , validate_movie_writer ],
1327
- 'animation.codec' : ['mpeg4 ' , six .text_type ],
1327
+ 'animation.codec' : ['h264 ' , six .text_type ],
1328
1328
'animation.bitrate' : [- 1 , validate_int ],
1329
1329
# Controls image format when frames are written to disk
1330
1330
'animation.frame_format' : ['png' , validate_movie_frame_fmt ],
Original file line number Diff line number Diff line change @@ -597,7 +597,7 @@ backend : $TEMPLATE_BACKEND
597
597
# the IPython notebook. 'html5' uses
598
598
# HTML5 video tag.
599
599
#animation.writer : ffmpeg # MovieWriter 'backend' to use
600
- #animation.codec : mpeg4 # Codec to use for writing movie
600
+ #animation.codec : h264 # Codec to use for writing movie
601
601
#animation.bitrate: -1 # Controls size/quality tradeoff for movie.
602
602
# -1 implies let utility auto-determine
603
603
#animation.frame_format: 'png' # Controls frame format used by temp files
You can’t perform that action at this time.
0 commit comments