Skip to content

Commit bba7c9e

Browse files
committed
fixes to default
1 parent 626cc87 commit bba7c9e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/client/jupyter/display/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {TextDocumentContentProvider} from './resultView';
66
import {CellOptions} from './cellOptions';
77
import {JupyterCodeLensProvider} from '../editorIntegration/codeLensProvider';
88
import {Server} from './server';
9+
import {PythonSettings} from '../../common/configSettings';
910

1011
const jupyterSchema = 'jupyter-result-viewer';
1112
const previewUri = vscode.Uri.parse(jupyterSchema + '://authority/jupyter');
@@ -32,7 +33,7 @@ export class JupyterDisplay extends vscode.Disposable {
3233
}
3334

3435
private displayed = false;
35-
private appendResults = false;
36+
private appendResults = PythonSettings.getInstance().jupyter.appendResults;
3637
public showResults(result: string, data: any): Thenable<any> {
3738
return this.server.start().then(port => {
3839
this.previewWindow.ServerPort = port;

0 commit comments

Comments
 (0)