Skip to content

Commit

Permalink
fix: adjust runner API to changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed May 16, 2024
1 parent 86fbdab commit a18d75a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/safe-ds-vscode/src/extension/eda/apis/runnerApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export class RunnerApi {
tablePlaceholder +
'.getColumn("' +
columnName +
'").plotHistogram(); \n'
'").plot.histogram(); \n'
);
}

Expand All @@ -218,7 +218,7 @@ export class RunnerApi {
tablePlaceholder +
'.getColumn("' +
columnName +
'").plotBoxplot(); \n'
'").plot.boxPlot(); \n'
);
}

Expand All @@ -233,9 +233,9 @@ export class RunnerApi {
newPlaceholderName +
' = ' +
tablePlaceholder +
'.plotLineplot(xColumnName="' +
'.plot.linePlot(xName="' +
xAxisColumnName +
'", yColumnName="' +
'", yName="' +
yAxisColumnName +
'"); \n'
);
Expand All @@ -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

Expand Down

0 comments on commit a18d75a

Please sign in to comment.