API: rename DivergingNorm to TwoSlopeNorm#15450
Conversation
|
Docs build warnings -> failure: |
efiring
left a comment
There was a problem hiding this comment.
I have a wording suggestion, and I spotted one of the two sources of CircleCI warnings, but otherwise this looks fine.
|
|
||
| ``DivergingNorm`` was a misleading name because it did not diverge (in | ||
| the sense that it is not its self diverging, but is best used with | ||
| diverging norms). It has been renamed to `.TwoSlopeNorm` to better represent |
There was a problem hiding this comment.
Alternative wording: "...misleading name; although the norm was developed with the idea that it would likely be used with diverging colormaps, the word 'diverging' does not describe or evoke the norm's mapping function. Since that function is monotonic, continuous, and piece-wise linear with two segments, the norm has been renamed to .TwoSlopeNorm."
| # DivergingNorm: Different mapping on either side of a center | ||
| # ----------------------------------------------------------- | ||
| # TwoSlopeNorm: Different mapping on either side of a center | ||
| # --------------------------------------------------------- |
There was a problem hiding this comment.
Aha! There is the "too short underline".
There was a problem hiding this comment.
My first pass at this I spelled it TwoSlopNorm and apparently did not fix up all of the fixes...
8e3d081 to
64c2bac
Compare
|
The docs build clean locally, hopefully circle argrees. |
…450-on-v3.2.x Backport PR #15450 on branch v3.2.x (API: rename DivergingNorm to TwoSlopeNorm)
closes #15336
attn @ivanov @efiring @ImportanceOfBeingErnest