positron
positron copied to clipboard
NumPy-style docstrings do not render for all functions/methods
Positron Version:
Positron Version: 2024.06.1 build 27 Code - OSS Version: 1.90.0 Commit: a893e5b282612ccb2200102957ac38d3c14e5196 Date: 2024-06-26T01:22:29.024Z Electron: 29.4.0 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Linux x64 6.1.0-21-amd64
Steps to reproduce the issue:
- Create a new Python source file and write the following:
import numpy as np
rng = np.random.default_rng()
- Execute the first line with e.g. Ctrl+Enter
- Get help for the method that is executed in the second line, for example through F1 or by executing this in the console:
?np.random.default_rng
What did you expect to happen?
Should render the NumPy-style docstrings correctly formatted, like it does for other functions:
Actual behavior
Renders the docs as plain text, like this:
Were there any error messages in the output or Developer Tools console?
No
Thank you for the report! I'm able to repro this as well.