Skip to content

[ENH]: Support caption for code block in sphinx plot directive #30740

@duncanmmacleod

Description

@duncanmmacleod

Problem

It would be very nice to be able to provide a :caption: for the .. code directive produced internally when using the .. plot directive in sphinx documentation.

Proposed solution

Add support for a :code-caption: option for the .. plot directive.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions