{
  "created": "2022-10-11T14:11:31Z",
  "hierarchy": [
    {
      "name": "ROOT",
      "type": "folder",
      "uri": "/ROOT"
    },
    {
      "name": "Jupyter Notebook Notes",
      "type": "article",
      "uri": "Jupyter_Notebook_Notes"
    }
  ],
  "html": "<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"UTF-8\"/><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/><meta name=\"name\" content=\"Nikhil's Personal Wiki\"/><meta name=\"description\" content=\"Jupyter Notebook Notes – Nikhil's Personal Wiki\"/><meta name=\"author\" content=\"Nikhil Anand\"/><meta name=\"theme-color\" content=\"#ffe9a00\"/><meta property=\"og:title\" content=\"Jupyter Notebook Notes – Nikhil's Personal Wiki\"/><meta property=\"og:description\" content=\"Jupyter Notebook Notes – Nikhil's Personal Wiki\"/><meta property=\"og:type\" content=\"website\"/><meta property=\"og:image\" content=\"/img/logo512.png\"/><meta property=\"og:site_name\" content=\"Nikhil's Personal Wiki\"/><link rel=\"og:image\" href=\"/img/logo512.png\"/><link rel=\"icon\" href=\"/img/favicon.png\"/><link rel=\"apple-touch-icon\" href=\"/img/logo192.png\"/><link rel=\"stylesheet\" href=\"/css/styles.css\"/><title>Jupyter Notebook Notes – Nikhil's Personal Wiki</title><script defer data-domain=\"wiki.nikhil.io\" src=\"https://plausible.io/js/plausible.js\"></script></head><body><noscript>👉 A few things won't work if you have JavaScript disabled.</noscript><div class=\"container article\"><header><nav><ul><li><a href=\"/archive\" class title=\"Archive\"><span>Archive</span></a></li><li><a href=\"/Home\" class title=\"Home\"><span>Home</span></a></li><li><a href=\"/random\" class title=\"See a random article\"><span>Random</span></a></li><li><a href=\"/Jupyter_Notebook_Notes/raw.txt\" title=\"View Source\"><span>Raw</span></a></li><li><a href=\"/Jupyter_Notebook_Notes/revisions\" class title=\"View revisions\"><span>Revisions</span></a></li><li><a href=\"/Jupyter_Notebook_Notes/index.json\" title=\"View JSON Object\"><span>JSON</span></a></li></ul></nav></header><main><article><article-hierarchy><ul><li><a data-entity-type=\"folder\" href=\"/ROOT\" title=\"ROOT\">Root</a></li><li><a data-entity-type=\"article\" href=\"/Jupyter_Notebook_Notes\" title=\"Jupyter Notebook Notes\">Jupyter Notebook Notes</a></li></ul></article-hierarchy><header><h1>Jupyter Notebook Notes</h1></header><article-content><p>Some assorted notes from working with Jupyter for a project.</p>\n<h3 id=\"config-directory\">Config Directory</h3>\n<pre tabindex=\"0\" class=\"chroma\"><code><span class=\"line\"><span class=\"cl\"><span class=\"kn\">import</span> <span class=\"nn\">jupyter_core</span>\n</span></span><span class=\"line\"><span class=\"cl\"><span class=\"n\">jupyter_core</span><span class=\"o\">.</span><span class=\"n\">paths</span><span class=\"o\">.</span><span class=\"n\">jupyter_config_dir</span><span class=\"p\">()</span>\n</span></span></code></pre><p>That gave me <code>/Users/nikhil/.jupyter</code> on my M1 Mac (i.e., <code>$HOME/.jupyter</code>)</p>\n<h3 id=\"custom-css-and-js\">Custom CSS (and JS!)</h3>\n<p>You would add your custom CSS and JS to these files:</p>\n<pre><code>$HOME/.jupyter/custom/custom.css\n$HOME/.jupyter/custom/custom.js\n</code></pre>\n<p>Note that this is for the web interface that you get from running <code>jupyter-lab</code>. <a href=\"https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter#review-details\">The VSCode plugin</a> (which is far superior to the web interface) <em>will not</em> respect these settings!</p>\n</article-content></article></main><footer><p></p><ul><li>658 bytes</li><li>Created on Tuesday, 11 October 2022 at 14:11 UTC</li><li>Modified on Thursday, 28 May 2026 at 13:06 UTC</li><br/><li><a href=\"https://github.com/afreeorange/wiki.nikhil.io.articles/edit/master/Jupyter Notebook Notes.md\" title=\"Edit this article\">Edit this article</a></li><li><a href=\"https://github.com/afreeorange/bock\" title=\"View the project that generates this wiki on Github\"><span>bock 6.3.0-alpha</span></a></li></ul></footer></div><script src=\"/js/table-sort.js\" defer></script><script type=\"text/javascript\">\n        document.body.addEventListener(\n          \"keypress\", (e) => e.key === \"f\"\n          ? window.location.assign(\"/archive\")\n          : null);\n      </script></body></html>",
  "id": "89e16419-2b11-5f02-93e5-695a07016af9",
  "modified": "2026-05-28T13:06:19Z",
  "revisions": [
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2026-05-28T13:06:19Z",
      "id": "3fea032da2efe1bb5dd3eec48dc190104517cf7c",
      "shortId": "3fea032d",
      "subject": "Formatting fixes -- Claude\n",
      "content": "Some assorted notes from working with Jupyter for a project.\n\n### Config Directory\n\n```python\nimport jupyter_core\njupyter_core.paths.jupyter_config_dir()\n```\n\nThat gave me `/Users/nikhil/.jupyter` on my M1 Mac (i.e., `$HOME/.jupyter`)\n\n### Custom CSS (and JS!)\n\nYou would add your custom CSS and JS to these files:\n\n```\n$HOME/.jupyter/custom/custom.css\n$HOME/.jupyter/custom/custom.js\n```\n\nNote that this is for the web interface that you get from running `jupyter-lab`. [The VSCode plugin](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter#review-details) (which is far superior to the web interface) _will not_ respect these settings!\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2026-01-13T18:47:28Z",
      "id": "2436477560f26e23d00a24add1cbfeafdca4af78",
      "shortId": "24364775",
      "subject": "No compression\n",
      "content": "Some assorted notes from working with Jupyter for a project.\n\n### Config Directory\n\n```python\nimport jupyter_core\njupyter_core.paths.jupyter_config_dir()\n```\n\nThat gave me `/Users/nikhil/.jupyter` on my M1 Mac (i.e., `$HOME/.jupyter`)\n\n### Custom CSS (and JS!)\n\nYou would add your custom CSS and JS to these files:\n\n```\n$HOME/.jupyter/custom/custom.css\n$HOME/.jupyter/custom/custom.js\n```\n\nNote that this is for the web interface that you get from running `jupyter-lab`. [The VSCode plugin](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter#review-details) (which is far superior to the web interface) _will not_ respect these settings!\n\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2022-12-19T18:40:53Z",
      "id": "726ae616259cb18d47d2400fa9c19c23c1f42331",
      "shortId": "726ae616",
      "subject": "Merge branch 'master' of github.com:afreeorange/wiki.nikhil.io.articles\n",
      "content": "Some assorted notes from working with Jupyter for a project.\n\n### Config Directory\n\n```python\nimport jupyter_core\njupyter_core.paths.jupyter_config_dir()\n```\n\nThat gave me `/Users/nikhil/.jupyter` on my M1 Mac (i.e., `$HOME/.jupyter`)\n\n### Custom CSS (and JS!)\n\nYou would add your custom CSS and JS to these files:\n\n```\n$HOME/.jupyter/custom/custom.css\n$HOME/.jupyter/custom/custom.js\n```\n\nNote that this is for the web interface that you get from running `jupyter-lab`. [The VSCode plugin](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter#review-details) (which is far superior to the web interface) _will not_ respect these settings!\n\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2022-10-11T14:11:31Z",
      "id": "56fbf33c0832c8525bf7aaa74a28424ac116d0a7",
      "shortId": "56fbf33c",
      "subject": "Create articles\n",
      "content": "Some assorted notes from working with Jupyter for a project.\n\n### Config Directory\n\n```python\nimport jupyter_core\njupyter_core.paths.jupyter_config_dir()\n```\n\nThat gave me `/Users/nikhil/.jupyter` on my M1 Mac (i.e., `$HOME/.jupyter`)\n\n### Custom CSS (and JS!)\n\nYou would add your custom CSS and JS to these files:\n\n```\n$HOME/.jupyter/custom/custom.css\n$HOME/.jupyter/custom/custom.js\n```\n\nNote that this is for the web interface that you get from running `jupyter-lab`. [The VSCode plugin](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter#review-details) (which is far superior to the web interface) _will not_ respect these settings!\n\n"
    }
  ],
  "sizeInBytes": 658,
  "source": "Some assorted notes from working with Jupyter for a project.\n\n### Config Directory\n\n```python\nimport jupyter_core\njupyter_core.paths.jupyter_config_dir()\n```\n\nThat gave me `/Users/nikhil/.jupyter` on my M1 Mac (i.e., `$HOME/.jupyter`)\n\n### Custom CSS (and JS!)\n\nYou would add your custom CSS and JS to these files:\n\n```\n$HOME/.jupyter/custom/custom.css\n$HOME/.jupyter/custom/custom.js\n```\n\nNote that this is for the web interface that you get from running `jupyter-lab`. [The VSCode plugin](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter#review-details) (which is far superior to the web interface) _will not_ respect these settings!\n",
  "title": "Jupyter Notebook Notes",
  "untracked": false,
  "uri": "/Jupyter_Notebook_Notes",
  "relativePath": "Jupyter Notebook Notes.md"
}
