Skip to content

Hide scrollbars in browser plots in docs #12930

@cbrnr

Description

@cbrnr

This is a follow-up to #10481. Our docs contain static screenshots of raw.plot(), and although most UI elements have been removed, the scrollbars are still visible, e.g. here:

sphx_glr_40_autogenerate_metadata_001

Even though they do not consume much space, I think they are confusing because they give the impression that the plot is actually interactive (scrollable). Therefore, I suggest to remove scrollbars from these plots in our docs.

Note that a solution via an environment variable (or similar) would be ideal, because the example code should still contain simple calls of raw.plot() without any extra arguments to hide the scrollbars (such an argument already exists, but I would not want to include show_scrollbars=False in every single example/tutorial which calls this function). Users will want interactive elements when running the examples, but I think we shouldn't display them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions