We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is suboptimal
>>> from pyiem.plot import pretty_bins >>> pretty_bins(21.5, 9886.5) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/akrherz/projects/pyIEM/src/pyiem/plot/util.py", line 105, in pretty_bins return centered_bins(maxval - center, on=center, bins=bins) File "/home/akrherz/projects/pyIEM/src/pyiem/plot/util.py", line 127, in centered_bins step = avail[np.digitize(step, avail)] IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
fix pretty_bins for larger ranges
df053b7
closes #665
akrherz
Successfully merging a pull request may close this issue.
This is suboptimal
The text was updated successfully, but these errors were encountered: