Skip to content

Saving a figure as image has some style issues #235

@Chris-N-K

Description

@Chris-N-K

When saving a figure as image while using the dark theme the style poses some problems. The axe ticks and labels remain coloured light grey as stated by the style sheet, but this makes them nearly invisible in the saved image.

I would suggest to either use a non-transparent facecolor (napari theme background) or add specific colouring for savefig to the style sheet: figure.facecolor : 262930 or savefig.facecolor : 262930

Another solution would be to change the colours for the axes, ticks and labels for saving, but as far as I know this can't be achieved through matplotlib without changing the colours of the displayed figure as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingStylingRelated to the visual appearance of the widget

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy