美文网首页
jupyter notebook调整代码cell宽度

jupyter notebook调整代码cell宽度

作者: sherrysack | 来源:发表于2017-06-23 16:32 被阅读0次

    ~\anaconda\Lib\site-packages\notebook\static\custom下的custom.css文件内容替换为:

    /*
    Placeholder for custom user CSS
    
    mainly to be overridden in profile/static/custom/custom.css
    
    This will always be an empty file in IPython
    */
    .CodeMirror pre {font-family: Consolas; font-size: 10pt;}
    * {font-family: Consolas;}
    div.output_area pre {font-family: Consolas; font-size: 10pt;}
    div.input_prompt {font-family: Consolas; font-size: 10pt;}
    div.out_prompt_overlay {font-family: Consolas; font-size: 10pt;}
    div.prompt {font-family: Consolas; font-size: 10pt;}
    span.cm-comment {font-family:  Consolas !important; font-style:normal !important; color:#FFAE3C !important;}
    .container { width:100% !important; }

    相关文章

      网友评论

          本文标题:jupyter notebook调整代码cell宽度

          本文链接:https://www.haomeiwen.com/subject/zyebqxtx.html