| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f847d53 commit 9bb4013
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -759,8 +759,7 @@ def validate_legend_loc(loc): | |||
| 759 | 759 | if 0 <= loc <= 10: | |
| 760 | 760 | return loc | |
| 761 | 761 | if isinstance(loc, tuple): | |
| 762 | - if len(loc) == 2 \ | ||
| 763 | - and all(isinstance(e, numbers.Real) for e in loc): | ||
| 762 | + if len(loc) == 2 and all(isinstance(e, Real) for e in loc): | ||
| 764 | 763 | return loc | |
| 765 | 764 | raise ValueError(f"{loc} is not a valid legend location.") | |
| 766 | 765 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments