Skip to content

Commit 85753ba

Browse files
Remove redundant assignment of plotFigureModel on plot spec failure
1 parent ebbdcc1 commit 85753ba

File tree

1 file changed

+0
-1
lines changed
  • lets-plot-compose/src/desktopMain/kotlin/org/jetbrains/letsPlot/compose

1 file changed

+0
-1
lines changed

lets-plot-compose/src/desktopMain/kotlin/org/jetbrains/letsPlot/compose/PlotPanelRaw.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ actual fun PlotPanelRaw(
131131
LaunchedEffect(panelSize, processedPlotSpec, specOverrideList, preserveAspectRatio) {
132132

133133
if (PlotConfig.isFailure(processedPlotSpec)) {
134-
plotFigureModel = null
135134
errorMessage = PlotConfig.getErrorMessage(processedPlotSpec)
136135
return@LaunchedEffect
137136
}

0 commit comments

Comments
 (0)