| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Milestonig for backport, though I don't quite agree that its "Release Critical" 😉 |
Sorry, something went wrong.
| ticks = ticker.AutoMinorLocator.__call__(self) | ||
| return ticks[(ticks >= vmin) & (ticks <= vmax)] | ||
| rtol = (vmax - vmin) * 1e-10 | ||
| return ticks[(ticks >= vmin - rtol) & (ticks <= vmax + rtol)] |
There was a problem hiding this comment.
Just as a thought: Can it happen, that vmin > vmax? If so, neither the original nor the fixed code would work in that case.
Sorry, something went wrong.
There was a problem hiding this comment.
Yes but that gets checked and swapped inside the method before this code
Sorry, something went wrong.
There was a problem hiding this comment.
Confirmed that vmax and vmin get flipped if they are specified out of order. Which maybe is bad behaviour? But its what colorbar does...
Sorry, something went wrong.
|
marking WIP:
|
Sorry, something went wrong.
|
This is fine for now. New test fails master, passes with this PR. Yes, I could parameterize the test, but I don't think its so unwieldly as is. The more general issue of MaxNLocator can get its own PR where it can be properly debated. |
Sorry, something went wrong.
|
Doc build seems broken, but I don't think its this PR. Something w/ stix fonts... |
Sorry, something went wrong.
|
Something went wrong ... Please have a look at my logs. |
Sorry, something went wrong.
FIX: make sure all ticks show up for colorbar minor tick
When things like that happen, feel free to ping me. This was an actual bug that (should) be fixed. |
Sorry, something went wrong.
|
@Carreau I would have gotten there eventually....Trying to get 3.0 finished off today 🤞 Could you also add a link to the logs in that error message? The question I was going to ask you first was "remind me how to find the logs...." |
Sorry, something went wrong.
I can try, but not directly, as the link changes regularly because of authentication: https://dashboard.heroku.com/apps/meeseeksbot Is the closest I can get for you, then click on papertrail. The bug is (was?) in an optimisation I was doing of reusing previously cloned matplotlib, where tring to fetch a branch fails as it is already the checked-out branch. That was becoming necessary as matplotlib takes ~70 seconds to clone which is too close the timeout where the bot get killed. |
Sorry, something went wrong.
There was a problem hiding this comment.
lib / matplotlib / colorbar.py :
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
#12095 shows that if you expect a minor colorbar tick right at the end of a colorbar it sometimes doesn't show up due to floating point precision issues. This fixes that...
PR Checklist