-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
The docstring pop up (Shift + Tab) currently wraps lines that are over 75 characters. Many libraries have docstrings that are just a bit longer than this. I believe the common longer lengths include 77, 80, and 82, and I wonder if you would consider changing the default width to wrap at 83 characters instead to avoid line spillover which makes the doscstring hard to read, see screenshots below
I did this change in the plotly source earlier and just suggested it to Altair, but I figured it would be easier if JupyterLab (and maybe IPython) could increase the width just slightly instead of me trying to fix one library at a time. Docstrings following the pep8 72 char recommendation would still look good, just have a bit extra space on the side.
I can make this change if someone can point me to where in the code I need to change something, but I am also happy for someone else to do it since I imagine it is just tweaking a number for the width of the popup.

