1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="generator" content="GitLab Pages">
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
- <title>Dayalan Saravanan</title>
- <link rel="stylesheet" type="text/css" href="style.css"/>
- </head>
- <body style="background: #ffffff;" onload="onPageLoad();">
- <div>
- <header>
- <h2>Dayalan Saravanan</h2>
- </header>
- <nav>
- <a href="index.html" class="current">Home</a>
- <a href="datascience.html">DataScience</a>
- <a href="linux.html">Linux</a>
- <a href="math.html">Math</a>
- <a href="music.html">Music</a>
- <a href="numerical.html">Numerical</a>
- <a href="programming.html">Programming</a>
- </nav>
- </div>
- <hr />
- <h4>Customize the color of text in IPython</h4>
- <ol>
- <li>
- <p>Edit the IPython config file, normally at </p>
- <code>~/.ipython/profile_default/ipython_config.py</code>
- </li> <br>
- <li>
- <p>If the config file is not present - you could generate it with the command: </p>
- <code>ipython profile create</code>
- <p>It will generate config file with default settings and you could edit them as needed.</p>
- </li> <br>
- <li><p>Find and uncomment (or change) setting </p>
- <code>c.InteractiveShell.colors</code>
- </li> <br>
- <li><p>Change it to one of the color schemes available (you can see them all listed in the comments) </p>
- <code>'Neutral', 'NoColor', 'LightBG', 'Linux'</code>
- </li> <br>
- <li><p>Save config file and start IPython.</p>
- </li>
- </ol>
- <hr />
- <footer><span>©</span> 2020 Dayalan Saravanan</footer>
- </body>
- </html>
|