From a18d75ac1c5e262a64adbe15c0ce95228871a109 Mon Sep 17 00:00:00 2001 From: Lars Reimann Date: Thu, 16 May 2024 22:02:20 +0200 Subject: [PATCH] fix: adjust runner API to changes --- .../src/extension/eda/apis/runnerApi.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/safe-ds-vscode/src/extension/eda/apis/runnerApi.ts b/packages/safe-ds-vscode/src/extension/eda/apis/runnerApi.ts index 85382f178..e55e55ce3 100644 --- a/packages/safe-ds-vscode/src/extension/eda/apis/runnerApi.ts +++ b/packages/safe-ds-vscode/src/extension/eda/apis/runnerApi.ts @@ -206,7 +206,7 @@ export class RunnerApi { tablePlaceholder + '.getColumn("' + columnName + - '").plotHistogram(); \n' + '").plot.histogram(); \n' ); } @@ -218,7 +218,7 @@ export class RunnerApi { tablePlaceholder + '.getColumn("' + columnName + - '").plotBoxplot(); \n' + '").plot.boxPlot(); \n' ); } @@ -233,9 +233,9 @@ export class RunnerApi { newPlaceholderName + ' = ' + tablePlaceholder + - '.plotLineplot(xColumnName="' + + '.plot.linePlot(xName="' + xAxisColumnName + - '", yColumnName="' + + '", yName="' + yAxisColumnName + '"); \n' ); @@ -252,16 +252,16 @@ export class RunnerApi { newPlaceholderName + ' = ' + tablePlaceholder + - '.plotScatterplot(xColumnName="' + + '.plot.scatterPlot(xName="' + xAxisColumnName + - '", yColumnName="' + + '", yName="' + yAxisColumnName + '"); \n' ); } private sdsStringForCorrelationHeatmap(tablePlaceholder: string, newPlaceholderName: string) { - return 'val ' + newPlaceholderName + ' = ' + tablePlaceholder + '.plotCorrelationHeatmap(); \n'; + return 'val ' + newPlaceholderName + ' = ' + tablePlaceholder + '.plot.correlationHeatmap(); \n'; } //#endregion