File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -560,10 +560,9 @@ class FFMpegFileWriter(FileMovieWriter, FFMpegBase):
560560 def _args (self ):
561561 # Returns the command line parameters for subprocess to use
562562 # ffmpeg to create a movie using a collection of temp images
563- return [self .bin_path (), # -r option is not needed before -i option
563+ return [self .bin_path (), '-r' , str ( self . fps ),
564564 '-i' , self ._base_temp_name (),
565- '-vframes' , str (self ._frame_counter ),
566- '-r' , str (self .fps )] + self .output_args
565+ '-vframes' , str (self ._frame_counter )] + self .output_args
567566
568567
569568# Base class of avconv information. AVConv has identical arguments to
Original file line number Diff line number Diff line change @@ -193,14 +193,16 @@ def update_from(self, other):
193193 Updates this :class:`Patch` from the properties of *other*.
194194 """
195195 artist .Artist .update_from (self , other )
196- self .set_edgecolor (other .get_edgecolor ())
197- self .set_facecolor (other .get_facecolor ())
198- self .set_fill (other .get_fill ())
199- self .set_hatch (other .get_hatch ())
200- self .set_linewidth (other .get_linewidth ())
201- self .set_linestyle (other .get_linestyle ())
196+ # For some properties we don't need or don't want to go through the
197+ # getters/setters, so we just copy them directly.
198+ self ._edgecolor = other ._edgecolor
199+ self ._facecolor = other ._facecolor
200+ self ._fill = other ._fill
201+ self ._hatch = other ._hatch
202+ self ._linewidth = other ._linewidth
203+ # Use setters, getters where we need the extra work they do.
204+ self .set_linestyle (other ._linestyle ) # also sets dash properties
202205 self .set_transform (other .get_data_transform ())
203- self .set_alpha (other .get_alpha ())
204206
205207 def get_extents (self ):
206208 """
You can’t perform that action at this time.
0 commit comments