Expand width of docstring pop up to accomodate commonly used docstring widths #9085
Labels
enhancement
status:resolved-locked
Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
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
Current behavior:
Suggested behavior:
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.
The text was updated successfully, but these errors were encountered: