@@ -2033,14 +2033,6 @@ def __call__(self, x0, y0, width, height, mutation_size,
20332033 else :
20342034 return self .transmute (x0 , y0 , width , height , mutation_size )
20352035
2036- def __reduce__ (self ):
2037- # because we have decided to nest these classes, we need to
2038- # add some more information to allow instance pickling.
2039- return (cbook ._NestedClassGetter (),
2040- (BoxStyle , self .__class__ .__name__ ),
2041- self .__dict__
2042- )
2043-
20442036 class Square (_Base ):
20452037 """
20462038 A simple square box.
@@ -2819,14 +2811,6 @@ def __call__(self, posA, posB,
28192811
28202812 return shrunk_path
28212813
2822- def __reduce__ (self ):
2823- # because we have decided to nest these classes, we need to
2824- # add some more information to allow instance pickling.
2825- return (cbook ._NestedClassGetter (),
2826- (ConnectionStyle , self .__class__ .__name__ ),
2827- self .__dict__
2828- )
2829-
28302814 class Arc3 (_Base ):
28312815 """
28322816 Creates a simple quadratic bezier curve between two
@@ -3276,14 +3260,6 @@ def __call__(self, path, mutation_size, linewidth,
32763260 else :
32773261 return self .transmute (path , mutation_size , linewidth )
32783262
3279- def __reduce__ (self ):
3280- # because we have decided to nest these classes, we need to
3281- # add some more information to allow instance pickling.
3282- return (cbook ._NestedClassGetter (),
3283- (ArrowStyle , self .__class__ .__name__ ),
3284- self .__dict__
3285- )
3286-
32873263 class _Curve (_Base ):
32883264 """
32893265 A simple arrow which will work with any path instance. The
0 commit comments