(a: ILauncher.IItemOptions, b: ILauncher.IItemOptions) => ) Eventually, JupyterLab will replace the classic Jupyter Notebook. It offers all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user inteface. Here's where the sorting happens, in the launcher extension's index.tsx file you already found: // Within each category sort by rank JupyterLab is the next-generation user interface for Project Jupyter. Once JupterLab is open click the Settings dropdown menu. But is that all As we know, Jupyterlab is a browser based app and is ipso facto, written on a base of HTML, CSS and Javascript. There is now even an in-built Dark Theme that can be enabled. Then run JupyterLab in the terminal with jupyterlab or by selecting the app icon in Anaconda Navigator. Jupyterlab is a definite improvement on the older IPython notebook interface - both in features and in appearance. The order of icons is controlled first by a rank, then localeCompare() on a label. Install with conda install -c conda-forge jupyterlab or pip install jupyterlab. #Jupyterlab icon how toIt's the "default" (or "native") kernel first, followed by others sorted according to their display_name.Īnyone know how to change the sort order of the icons on the Launcher?Īs far as I can see, the only way to control the order of the kernels is to specify display_names for kernels such that their order according to String.localeCompare() matches what you want (combined with excluding the "default"/"native" kernel if it's not the one you want to see first). The sort order looks kinda arbitrary, but maybe I'm not seeing the pattern that it's using. I think you are asking specifically about the order of notebook kernels in the launcher.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |