Skip to content

Commit a03dbff

Browse files
Fix #295 - Horizontal geom_boxplot() with alpha specified is displayed incorrectly.
1 parent f27aed6 commit a03dbff

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

future_changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ GeoTools [v 33.2](https://github.com/geotools/geotools/releases/tag/33.2)
1111

1212
### Fixed
1313

14-
14+
- Horizontal geom_boxplot() with alpha specified is displayed incorrectly [[LPK-295](https://github.com/JetBrains/lets-plot-kotlin/issues/295)].

plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/geom/geom_boxplot.kt

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -169,21 +169,23 @@ fun geomBoxplot(
169169
val layers = mutableListOf<Layer>()
170170

171171
layers += geomBoxplotInternal(
172-
data,
173-
stat,
174-
position,
175-
showLegend,
176-
inheritAes,
177-
manualKey,
178-
tooltips,
179-
orientation,
180-
x, y, lower, middle, upper, ymin, ymax, alpha,
181-
xlower, xmiddle, xupper, xmin, xmax,
182-
color, fill, size, linetype, shape, angle, width, weight, fatten,
183-
whiskerWidth, varWidth, coef,
184-
widthUnit,
185-
colorBy, fillBy,
186-
mapping
172+
data = data,
173+
stat = stat,
174+
position = position,
175+
showLegend = showLegend,
176+
inheritAes = inheritAes,
177+
manualKey = manualKey,
178+
tooltips = tooltips,
179+
orientation = orientation,
180+
x = x, y = y,
181+
lower = lower, middle = middle, upper = upper, ymin = ymin, ymax = ymax,
182+
xlower = xlower, xmiddle = xmiddle, xupper = xupper, xmin = xmin, xmax = xmax,
183+
alpha = alpha, color = color, fill = fill,
184+
size = size, linetype = linetype, shape = shape, angle = angle, width = width, weight = weight, fatten = fatten,
185+
whiskerWidth = whiskerWidth, varWidth = varWidth, coef = coef,
186+
widthUnit = widthUnit,
187+
colorBy = colorBy, fillBy = fillBy,
188+
mapping = mapping
187189
)
188190

189191
if (stat.kind == StatKind.BOXPLOT) {

0 commit comments

Comments
 (0)