• Jupyter Notebook 更换主题(背景、字体)


    通过命令行窗口或 Anaconda Prompt 窗口

    1、安装 Jupyter 主题

    pip install jupyterthemes

    2、更新 Jupyter 主题 (可选)

    pip install --upgrade jupyterthemes

    3、查看可用的 Jupyter 主题

    jt -l

    4、更换 Jupyter 主题

    jt -t onedork -f fira -fs 13 -cellw 90% -ofs 11 -dfs 11 -T -T

    -t 主题 -f(字体)  -fs(字体大小) -cellw(占屏比或宽度)  -ofs(输出段的字号)  -T(显示工具栏)  -T(显示自己主机名)

    更改主题后 Jupyter Notebook 是下面的效果:

     

    -- 恢复 Jupyter 默认风格

    jt -r

     

     

    5、各种主题风格

    chestersih

    jt -t chesterish -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T
    

    grade3

    jt -t grade3 -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T
    

    gruvobxd

    jt -t gruvboxd -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T
    

    gruvboxl

    jt -t gruvboxl -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T
    

    monokai

    jt -t monokai -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T
    

    oceans16

    jt -t oceans16 -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T
    

    onedork

    jt -t onedork -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T
    

    solarizedd

    jt -t solarizedd -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T
    

    solarizedl

    jt -t solarizedl -f fira -fs 17 -cellw 90% -ofs 15 -dfs 15 -T -T
    

     

     

     

    参考文章:

     https://baijiahao.baidu.com/s?id=1622108825317402337&wfr=spider&for=pc

  • 相关阅读:
    时间戳计算
    .NET/C#/Oracle数据库操作类
    memcached安装及.NET中的Memcached.ClientLibrary使用
    C# Redis
    Jmeter教程 简单的压力测试
    Elasticsearch查询类型
    Windows 如何查看本地端口被进程占用的情况?
    Log4net 配置
    NLog 配置
    RPC原理
  • 原文地址:https://www.cnblogs.com/shanger/p/12006161.html
Copyright © 2020-2023  润新知