Skip to content

Commit

Permalink
Fix 'lowest' parameter for User Specified Binning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nalad committed Jan 24, 2023
1 parent 3c2bb92 commit fdaadd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mapclassify/_classify_API.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def classify(
mindiff=0,
initial=100,
bins=None,
lowest=None,
):
"""
Expand Down Expand Up @@ -188,7 +189,7 @@ def classify(
classifier = _classifiers[scheme](y, k, initial)

elif scheme == "userdefined":
classifier = _classifiers[scheme](y, bins)
classifier = _classifiers[scheme](y, bins, lowest)

elif scheme in [
"equalinterval",
Expand Down

0 comments on commit fdaadd6

Please sign in to comment.