Skip to content

[Doc]: coords_demo is not rendered correctly when downloaded as a Jupyter notebook #31869

@nicolas-joffre

Description

@nicolas-joffre

Documentation Link

https://matplotlib.org/devdocs/gallery/event_handling/coords_demo.html

Problem

The render of the "Note" box at the top of the page is broken when downloading the page as a Jupyter notebook and viewing it in JupyterLab

Image

Suggested improvement

Removing the indent at the beginning of the second paragraph fixes it.

Before:

<div class="alert alert-info"><h4>Note</h4><p>This example exercises the interactive capabilities of Matplotlib, and this
    will not appear in the static documentation. Please run this code on your
    machine to see the interactivity.

    You can copy and paste individual parts, or download the entire example
    using the link at the bottom of the page.</p></div>

After:

<div class="alert alert-info"><h4>Note</h4><p>This example exercises the interactive capabilities of Matplotlib, and this
    will not appear in the static documentation. Please run this code on your
    machine to see the interactivity.

You can copy and paste individual parts, or download the entire example
    using the link at the bottom of the page.</p></div>
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    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