lets-plot-compose/src/desktopMain/kotlin/org/jetbrains/letsPlot/compose/PlotPanelComposeCanvas.kt [111:121]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - val finalModifier = if (errorMessage != null) { modifier.background(Color.LightGray) } else { if (containsBackground(modifier)) { // Do not change the user-defined background modifier } else { // Use background color from the plot theme val lpColor = PlotThemeHelper.plotBackground(processedPlotSpec) val lpBackground = Color(lpColor.red, lpColor.green, lpColor.blue, lpColor.alpha) modifier.background(lpBackground) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lets-plot-compose/src/desktopMain/kotlin/org/jetbrains/letsPlot/compose/PlotPanelSwingComponent.kt [70:80]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - val finalModifier = if (errorMessage != null) { modifier.background(Color.LightGray) } else { if (containsBackground(modifier)) { // Do not change the user-defined background modifier } else { // Use background color from the plot theme val lpColor = PlotThemeHelper.plotBackground(processedPlotSpec) val lpBackground = Color(lpColor.red, lpColor.green, lpColor.blue, lpColor.alpha) modifier.background(lpBackground) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -