python - 是否可以更改 PyCharm 显示 OpenCV 文档的方式?

标签 python opencv pycharm documentation

PyCharm(PY-193.6911.25、macOS 10.15.4)无法正确显示 OpenCV 文档。

更具体地说,这就是结果。

enter image description here

正如你所看到的,这是一团糟。有可能解决这个问题吗?我用 pip 安装了 OpenCV。

最佳答案

经过大量谷歌搜索后,我最终认为没有简单的解决方案,但是......实际上有!

我所做的是: 按 CTRL Q 向下滚动到三点并单击开源。 按 CTRL+R(替换) 代替 '。 ' 到 '' 现在文档字符串看起来像这样: enter image description here 绝对不完美,但我认为它看起来更好一点。

此外,我将其添加为外部文档: https://opencv-python-tutroals.readthedocs.io/en/latest/search.html?q={element.name}&check_keywords=yes&area=default

因此它会显示 cv2“教程”...

关于python - 是否可以更改 PyCharm 显示 OpenCV 文档的方式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61976114/

相关文章:

python - 在 N*N 矩阵中查找总数据

python - 如何在 Python 中读取 16Uint 图像

opencv - OpenCV 中矩阵的 Cholesky 分解

python - opencv-tkinter 集成中的闪烁视频

python - 链接到类的 PyCharm 文档字符串

python - 连接信号时为什么要使用不同的方法而不是直接的方法?

python - 如何继承查询MongoEngine文档?

python - Pandas 将数据框与共享列合并,左右填充

python - Pycharm "unresolved reference"加入 os.path

python - PyQt5 QFileDialog 在 ubuntu 中没有返回正确的路径