Wednesday, 22 September 2021

How to make Jupyter notebook python help function output colorful?

I am new to Jupyter notebook and trying to see the some help about the functions. For example, when I print the help of statsmodels.OLS I got the following plain black and white help.

Are there any python modules that colorize/beautify the help outputs?

For example:

  • hightlight parameters names
  • highlight the code example in python syntax hightlight
  • and so on.

If there are not some modules, what would be the starting point, to colorize the parameters and the python codes?

The example output of help is given below:

enter image description here



from How to make Jupyter notebook python help function output colorful?

No comments:

Post a Comment