-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Multiply colourbar linewidth parameters with *.pt (#4314) #4318
New issue
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
Conversation
All the tests are failing. You probably need to regenerate the documentation. Also, could you mention this in NEWS.md, including that it will cause visual changes if people are using something other than the default? (And maybe explain in 1 sentence how to fix this, by adding |
Yes thank you that seems to help some tests to be successful. There seems to be an issue with |
Do you happen to have access to the github code search beta (https://cs.github.com)? If so, it'd be worth doing a little searching to guess how frequently these arguments are used. This is technically a visual change, but I suspect so few people use it we could squeeze into a patch release. |
Personally I do not. However, googling
Doing the same for
I expect 2-5 to be affected in some way. All in all, I think that there isn't a lot of code on github that use these arguments, and only 1 lives in a package (the very first link in this post). |
@hadley do you have any objections to merging this in for next release? It seems the downstream repercussions are pretty minimal... |
@thomasp85 we probably could. I'm just a little worried about the potential for causing unexplained visual changes that will be hard for folks to track down. |
yeah... I do think this is a very minor risk, though... If we fold this in together with the size->linewidth change we can make a general remark about how lines may have changed width for various reasons with the update |
@thomasp85 sure, sounds good to me. |
Thanks @teunbrand ! |
This PR aims to set straight a small inconsistency in the way the colourbar guide handles linewidths and fixes #4314.
It multiplies the
frame.linewidth
andticks.linewidth
parameters with.pt
before giving these togpar()
.Defaults are inversely transformed to not cause visual changes for users and in tests.