jupyter custom.css删除 [英] jupyter custom.css removal
问题描述
错误地,我更新了此文件以自定义css。
D:\Continuum\Anaconda2 \Lib\site-packages \\\
otebook\static\custom\custom.css
By mistake, I updated this file to customize css. D:\Continuum\Anaconda2\Lib\site-packages\notebook\static\custom\custom.css
To回滚上面的更改,
1)我放回了之前保存的原始文件。仍然新的css出现在jupyter中。
To rollback the above change, 1) I put back the original file that I saved before. still the new css shows up in jupyter.
2)我删除了所有的.ipython和.jupyter目录,它也没有用。
2) I removed all .ipython and .jupyter dir and it didn't work either.
3)我甚至卸载了anaconda,但仍然显示css。
3) I even uninstalled anaconda and still that css shows up.
我真的被困在这里。有谁知道如何回到jupyter的默认css?
I'm really stuck here. Does anyone know how to go back to the default css of jupyter ?
推荐答案
重新作为回答:
当您的更改似乎没有在HTML界面中生效时,浏览器缓存通常是罪魁祸首。浏览器通过不再询问文件来节省时间。您可以:
When your changes don't seem to be taking effect in an HTML interface, browser caching is often a culprit. The browser saves time by not asking for files again. You can:
- 使用Ctrl-F5尝试强制刷新。无论如何,它可能会从缓存中获取一些东西,但有时将其混合几次是有效的。
- 使用其他浏览器配置文件或隐私浏览模式来加载页面。
- 可能有一个设置可禁用开发人员选项下的缓存。我认为Chrome有这个。仅在开发人员工具处于打开状态时才适用。
- 如果所有其他方法都失败,请使用其他浏览器加载页面。如果它仍然没有改变,那么问题可能不是(只是)浏览器缓存。
- Try force-refreshing with Ctrl-F5. It may get some things from the cache anyway, though sometimes mashing it several times is effective.
- Use a different browser profile, or private browsing mode, to load the page.
- There may be a setting to disable caching under developer options. I think Chrome has this. May only apply while developer tools are open.
- If all else fails, load the page using a different browser. If it still doesn't change, it's likely the problem is not (just) browser caching.
这篇关于jupyter custom.css删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!