Skip to content

Commit

Permalink
Merge pull request #7 from iamtekson/dev
Browse files Browse the repository at this point in the history
merge dev
  • Loading branch information
iamtekson committed Jul 11, 2022
2 parents 6f3b710 + 70676e3 commit fcff33c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysld/classifiedStyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ def classified_style(self):
heigher_limit = self.classes[i + 1]

# In last set of rule, need to increase the value by 0.1 so that it will be visualize in system. #5
if i+1 == self.number_of_class:
heigher_limit = self.classes[i+1] + 0.1
if i == self.number_of_class - 1:
heigher_limit = round(self.classes[i+1] + 0.1, 2)

rule += self.classified_rule_generator(
lower_limit, heigher_limit, color)
Expand Down

0 comments on commit fcff33c

Please sign in to comment.