Skip to content

[ENH]: Expand and diversify built-in style gallery #30157

Open
@karimhamdi

Description

@karimhamdi

Problem

Matplotlib currently offers a limited selection of built-in styles. Most feature light-toned backgrounds (white or gray), and there is only a single dark theme (dark_background).

This restricts users’ ability to quickly apply aesthetically pleasing and context-appropriate visuals, especially for dark-mode environments.

https://matplotlib.org/stable/gallery/style_sheets/style_sheets_reference.html

Proposed solution

Introduce a broader suite of ready-to-use styles—including multiple dark themes and visually diverse light options—that are curated by someone with strong design and colour-scheme expertise. This would empower users to easily switch between visually rich styles for presentations, publications, or dark-mode workflows.
Suggested enhancements:

  • Add a few dark-mode themes with distinct colour palettes beyond dark_background, featuring complementary accent colours and improved contrast.
  • Introduce several light-mode styles with diverse hues, backgrounds, and typography.
  • Ensure new styles integrate seamlessly into the existing plt.style.use(...) interface and are well-documented in the style reference gallery.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions