![jupyterlab theme monokai jupyterlab theme monokai](https://pystyle.info/wp/wp-content/uploads/2020/06/jupyterlab-list-of-themes_09.jpg)
UnicodeDecodeError: 'gbk' codec can't decode byte 0x8b in position 41271: illegal multibyte sequenceįile "c:\users\shiling\appdata\local\programs\python\python36\lib\runpy.py", line 193, in run_module_as_mainįile "c:\users\shiling\appdata\local\programs\python\python36\lib\runpy.py", line 85, in run_codeįile "C:\Users\Shiling\AppData\Local\Programs\Python\Python36\Scripts\jt.exe_ main.py", line 9, inįile "c:\users\shiling\appdata\local\programs\python\python36\lib\site-packages\jupyterthemes_ init.py", line 305, in mainįile "c:\users\shiling\appdata\local\programs\python\python36\lib\site-packages\jupyterthemes_ init_.py", line 98, in install_themeįile "c:\users\shiling\appdata\local\programs\python\python36\lib\site-packages\jupyterthemes\stylefx.py", line 291, in style_layout reset() Monospace Fonts (code cells) -f argĮlse how can I solve decode problem like this. # reset default matplotlib rcParams jtplot. style( ticks = True, grid = False, figsize =( 6, 4.5)) # turn on X- and Y-axis tick marks (default=False) # turn off the axis grid lines (default=True) # and set the default figure size jtplot. style( context = 'talk', fscale = 1.4, spines = False, gridlines = '-') # remove spines from x and y axes and make grid dashed jtplot. # set "context" (paper, notebook, talk, poster) # scale font-size of ticklabels, legend, etc. # import jtplot module in notebook from jupyterthemes import jtplot # choose which theme to inherit plotting style from # onedork | grade3 | oceans16 | chesterish | monokai | solarizedl | solarizedd jtplot. Pro-tip: Include the following two lines in ~/.ipython/profile_default/startup/startup.ipy file to set plotting style automatically whenever you start a notebook: Note, these commands do not need to be re-run every time you generate a new plot, just once at the beginning of your notebook or whenever style changes are desired after that. In addition to setting the color scheme, jtplot.style() allows you to control various figure properties (spines, grid, font scale, etc.) as well as the plotting "context" (borrowed from seaborn). Jtplot.style() makes changes to matplotlib's rcParams dictionary so that figure aesthetics match those of a chosen jupyterthemes style. Jt -t grade3 -fs 95 -altp -tfs 11 -nfs 115 -cellw 88% -T Set Plotting Style (from within notebook) Jt -t onedork -fs 95 -altp -tfs 11 -nfs 115 -cellw 88% -T # choose alternate prompt layout (narrower/no numbers) # adjust cursor width (in px) and make cursor red # options: b (blue), o (orange), r (red), p (purple), g (green), x (font color) # fix the container-margins on the intro page (defaults to 'auto')
![jupyterlab theme monokai jupyterlab theme monokai](https://raw.githubusercontent.com/AlexBella365/jupyterlab_theme/HEAD/imgs/screenshot.png)
# or set the cell width in pixels by leaving off the '%' sign # adjust cell width (% screen width) and line height Jt -t oceans16 -tf merriserif -tfs 10 -nf ptsans -nfs 13 # set font/font-size of markdown (text cells) and notebook (interface) # see sans-serif & serif font tables below
#JUPYTERLAB THEME MONOKAI CODE#
# set code font to Fira Mono, 11.5pt # 3digit font-sizes get converted into float (115->11.5) # 2digit font-sizes > 25 get converted into float (85->8.5) # set code font to 'Roboto Mono' 12pt # (see monospace font table below) That means that making the kernel logo visible is # pointless without also making the name visible kernel logo is in same container as name # toggled with -N. # restore default theme # NOTE: Need to delete browser cache after running jt -r # If this doesn't work, try starting a new notebook session. # list available themes # onedork | grade3 | oceans16 | chesterish | monokai | solarizedl | solarizedd ĭescription of Command Line options cl options JupyterLab Themes:įinally got around to creating a pair of themes for JupyterLab with similar style and design conventions to the jupyter-themes package: I'm particularly grateful to those of you who bothered to submit pull requests - adding many excellent features that I was either too short-sighted to anticipate or simply incapable of implementing on my own. I'll also take this opportunity to say thank you to everyone who regularly used, expressed appreciation for, and contributed to jupyter-themes.
#JUPYTERLAB THEME MONOKAI HOW TO#
Jupyterthemes Theme-ify your Jupyter Notebooks! AuthorĪs anyone who has opened a bug report or feature request in the last several years can attest, I have begun scaling back support for the jupyter-themes package - mostly due to my personal preference for using Jupyter Lab over Jupyter Notebook classic (see update below for two of my JupyterLab theme repos).įor those with continued interest in using jupyter-themes I am planning to write up a tutorial for how to add your own custom themes to your local jt installation as well as a contributing guide for those who would like submit pull-requests to the official pacakge.