Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d040c28

Browse files
committed
Multivariate and bivariate resampling of colormaps
Also removed all set_ functions, and replaced them with with_extremes()
1 parent f5f5890 commit d040c28

File tree

4 files changed

+383
-87
lines changed

4 files changed

+383
-87
lines changed

lib/matplotlib/_cm_bivar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,8 +1305,8 @@
13051305

13061306
cmaps = {
13071307
"BiPeak": SegmentedBivarColormap(
1308-
BiPeak, "BiPeak", 256, "square", (128, 128)),
1308+
BiPeak, "BiPeak", 256, "square", (.5, .5)),
13091309
"BiOrangeBlue": SegmentedBivarColormap(
13101310
BiOrangeBlue, "BiOrangeBlue", 256, "square", (0, 0)),
1311-
"BiCone": SegmentedBivarColormap(BiPeak, "BiCone", 256, "circle", (128, 128)),
1311+
"BiCone": SegmentedBivarColormap(BiPeak, "BiCone", 256, "circle", (.5, .5)),
13121312
}

0 commit comments

Comments
 (0)