Repository navigation
2d padding - #2731
2d padding#2731
Conversation
|
The failures look unrelated for these changes. I closed the other PR. |
There was a problem hiding this comment.
Because i is not used in the expression, I have replaced it with _, which is considered as a "throw-away" variable identifier (see for instance http://stackoverflow.com/questions/1739514/as-variable-name-in-python)
|
I have a few concerns about code style, mostly the inline if statements and the change of inner variables to Functionality wise, looks good to me. This module (and basically all of |
|
I have fixed the controversial things except renames to _ (at least for the time being) for reasons mentioned above. |
|
Hi there, do I have to do something now to get this moving again (such as writing about it to the mailing list)? |
|
@matejak Hopefully I will get this merged very soon (travis is not loading for me tonight...). I still do not like the |
There was a problem hiding this comment.
For your reference, it was Vim typo (pressed I followed by # thinking that I am in normal mode)
|
I dare to disagree about the underscore (ie _), from my POV, it is a clear message saying "this variable is dummy, we claim that it is not used anywhere" and syntax checkers such as pylint are aware of this. |
|
I don't feel strongly enough to demand you change the variables back, but that vim typo should probably be fixed. Can you also add entries to CHANGELOG, api_changes.rst, and whats_new.rst? |
|
I have rebased to the current master (hopefully, I am not so closely familiar with Git) and also committed descriptions you have kindly suggested. |
Used to be here: #2466 (comment)
This feature is useful in cases such as showing the same section of an image with different colorbar ranges.

Since colorbars have to be labelled, it is not possible to get things right when using the same horizontal and vertical spacing.
I attach an image (you can obtain it by running the demo script or by generating the documentation, the new functionality is the image to the right).
I think that I haven't broken anything since the documentation generation did not complain. However, I don't know how to write tests for this feature.