Skip to content

Docstring examples not showing when using the Pylance languageserver #986

@MarcSkovMadsen

Description

@MarcSkovMadsen

hvplot==0.8.2

Unfortunately the examples of the docstrings in hvplot using ..code-block:: do not show in tooltips when using the Pylance language server. They do when using the Jedi language server which I use.

I can see Pandas uses <<< for code blocks

image

They show nicely with both the Pylance and Jedi language server.

Originally I used these. But using >>> just made copying of code snippets harder as you first have to remove the >>> before you can apply them. And I also thought using ..code-block:: was better for Sphinx documentation.

Is it OK I change ..code-block:: to >>> in the documentation @maximlt and others?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions