@@ -722,22 +722,23 @@ def _draw_x(self, renderer, gc, xt, yt):
722722 renderer .draw_line (gc , x - offset , y - offset , x + offset , y + offset )
723723 renderer .draw_line (gc , x - offset , y + offset , x + offset , y - offset )
724724
725- def copy_properties (self , line ):
726- 'copy properties from line to self'
727- self ._linestyle = line ._linestyle
728- self ._linewidth = line ._linewidth
729- self ._color = line ._color
730- self ._markersize = line ._markersize
731- self ._markerfacecolor = line ._markerfacecolor
732- self ._markeredgecolor = line ._markeredgecolor
733- self ._markeredgewidth = line ._markeredgewidth
734- self ._dashSeq = line ._dashSeq
735-
736- self ._linestyle = line ._linestyle
737- self ._marker = line ._marker
738- self ._lineFunc = line ._lineStyles [line ._linestyle ]
739- self ._markerFunc = line ._markers [line ._marker ]
740- self ._useDataClipping = line ._useDataClipping
725+ def update_from (self , other ):
726+ 'copy properties from other to self'
727+ Artist .update_from (self , other )
728+ self ._linestyle = other ._linestyle
729+ self ._linewidth = other ._linewidth
730+ self ._color = other ._color
731+ self ._markersize = other ._markersize
732+ self ._markerfacecolor = other ._markerfacecolor
733+ self ._markeredgecolor = other ._markeredgecolor
734+ self ._markeredgewidth = other ._markeredgewidth
735+ self ._dashSeq = other ._dashSeq
736+
737+ self ._linestyle = other ._linestyle
738+ self ._marker = other ._marker
739+ self ._lineFunc = other ._lineStyles [other ._linestyle ]
740+ self ._markerFunc = other ._markers [other ._marker ]
741+ self ._useDataClipping = other ._useDataClipping
741742
742743 def _get_rgb_face (self ):
743744 if (self ._markerfacecolor is None or
0 commit comments