Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Defining startup code for the Jupyter kernel #117

Open
PoulTur opened this issue Apr 10, 2018 · 0 comments
Open

Defining startup code for the Jupyter kernel #117

PoulTur opened this issue Apr 10, 2018 · 0 comments

Comments

@PoulTur
Copy link

PoulTur commented Apr 10, 2018

Environment data

VS Code version: 1.22.1
Jupyter Extension version: 1.1.4
OS and version: Win10

Logs

N/A
Output from Console window (Help->Developer Tools menu)
N/A

Actual behavior

Docs say: "Defining startup code for the jupyter kernel
The default startup code for Python is %matplotlib inline.".

What other options are supported? I tried e.g. %%timeit (to check execution times) or %xmode Plain, or e.g. import pandas as pd and then some pandas global settings.

Expected behavior

Update the docs to give a couple more examples what other options are available from here apart from %matplotlib inline

Steps to reproduce:

"jupyter.languages": [
    {
      "languageId": "python",
      "startupCode": [
        "%matplotlib inline",
        "%xmode Plain"  // e.g. should this be supported?
      ],
      ...

...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant