Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a5a6e0a

Browse files
committed
FIX: remove scale
1 parent 9b49523 commit a5a6e0a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/matplotlib/scale.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,15 +292,10 @@ def __init__(self, axis, **kwargs):
292292
@cbook._rename_parameter("3.3", f"nonpos{axis_name}", "nonpositive")
293293
def __init__(*, base=10, subs=None, nonpositive="clip"):
294294
return base, subs, nonpositive
295+
295296
base, subs, nonpositive = __init__(**kwargs)
296297
self._transform = LogTransform(base, nonpositive)
297298
self.subs = subs
298-
self._nonpositive = nonpositive
299-
self._axis_name = axis_name
300-
301-
def __deepcopy__(self, memo):
302-
return self.__init__(self._axis_name, base=self.base, subs=self.subs,
303-
nonpositive=self._nonpositive)
304299

305300
base = property(lambda self: self._transform.base)
306301

0 commit comments

Comments
 (0)