File tree 3 files changed +53
-47
lines changed
3 files changed +53
-47
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## [ Unreleased]
4
4
5
+ ### Fixed
6
+
7
+ - Do not calculate disabled markers to the color normalization.
8
+
5
9
## [ 0.11.0] - 2024-05-23
6
10
7
11
### Fixed
Original file line number Diff line number Diff line change @@ -465,6 +465,7 @@ void PlotBuilder::normalizeColors()
465
465
Math::Range<double > color;
466
466
467
467
for (auto &marker : plot->markers ) {
468
+ if (!marker.enabled ) continue ;
468
469
auto &&cbase = marker.colorBase .get ();
469
470
if (!cbase.isDiscrete ()) color.include (cbase.getPos ());
470
471
lightness.include (cbase.getLightness ());
@@ -480,6 +481,7 @@ void PlotBuilder::normalizeColors()
480
481
.range .getRange (lightness);
481
482
482
483
for (auto &marker : plot->markers ) {
484
+ if (!marker.enabled ) continue ;
483
485
auto &&cbase = marker.colorBase ->value ;
484
486
cbase.setLightness (lightness.rescale (cbase.getLightness ()));
485
487
You can’t perform that action at this time.
0 commit comments