Skip to content

Image embedding not ignoring input cell when :caption: defined #2575

@rossbar

Description

@rossbar

Description

I'm attempting to embed cell outputs (matplotlib figures) in this case following the docs for embedding cell outputs. IIUC only the cell output should be embedded when using this pattern, but I'm seeing the cell input as well in the rendered page.

See numpy/numpy-tutorials#299 for the source code that generates the above-linked rendering.

Either the documentation isn't capturing the right recipe (or I've misread it); or the embedding is not quite working as expected.

Additional notes

FWIW I also tried the explicit {embed} directive with the remove-inputs option per another page in the docs and saw the same behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions