2c03e251bcc40623ed4643ed6e340b9a4fda1bf2,lib/matplotlib/scale.py,LogScale,__init__,#LogScale#Any#,359
Before Change
nonpos = kwargs.pop("nonposy", "clip")
cbook._check_in_list(["mask", "clip"], nonposy=nonpos)
if kwargs:
raise TypeError(f"LogScale got an unexpected keyword "
f"argument {next(iter(kwargs))!r}")
if base <= 0 or base == 1:
raise ValueError("The log base cannot be <= 0 or == 1")
self._transform = LogTransform(base, nonpos)
self.subs = subs
After Change
def __init__(*, base=10, subs=None, nonpos="clip"):
return base, subs, nonpos
base, subs, nonpos = __init__(**kwargs)
self._transform = LogTransform(base, nonpos)
self.subs = subs
base = property(lambda self: self._transform.base)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: matplotlib/matplotlib
Commit Name: 2c03e251bcc40623ed4643ed6e340b9a4fda1bf2
Time: 2020-02-08
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/scale.py
Class Name: LogScale
Method Name: __init__
Project Name: pliablepixels/zmeventnotification
Commit Name: 5829375ae9e308305983c7b6cb0f626703f38726
Time: 2019-07-11
Author: pliablepixels@gmail.com
File Name: hook/zmes_hook_helpers/alpr.py
Class Name: ALPRPlateRecognizer
Method Name: __init__
Project Name: pliablepixels/zmeventnotification
Commit Name: 5829375ae9e308305983c7b6cb0f626703f38726
Time: 2019-07-11
Author: pliablepixels@gmail.com
File Name: hook/zmes_hook_helpers/alpr.py
Class Name: OpenALPR
Method Name: __init__