Skip to content

Commit

Permalink
fixed default value of fuzzy in scheme() to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
prdx23 committed Jun 3, 2022
1 parent 90caa58 commit 6bf0621
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Arsh
Copyright (c) 2020 - 2022 Arsh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,5 +220,5 @@ All contributions to `acrylic` are welcome and appreciated! Ways in which you ca
- Spread the word about `acrylic`!

## License
**MIT License**: Copyright (c) 2020 Arsh
**MIT License**: Copyright (c) 2020 - 2022 Arsh
[License.txt](https://github.com/prdx23/acrylic/blob/master/LICENSE.txt)
2 changes: 1 addition & 1 deletion acrylic/Schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
MODIFIED_TRIADIC = 12


def scheme(self, name, in_rgb=False, fuzzy=-1):
def scheme(self, name, in_rgb=False, fuzzy=0):
'''
Returns a list of `Color` according to the given color scheme
Expand Down
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

v0.3.1
- fixed default value of fuzzy in scheme() to 0

v0.3.0
- rewrote the validation system to follow duck typing conventions
- optimized the validation code to remove inefficient parts
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="acrylic",
version="0.3.0",
version="0.3.1",
author="Arsh",
author_email="hi@prdx.me",
description="A simple and intuitive library to work with colors in python",
Expand Down

0 comments on commit 6bf0621

Please sign in to comment.