The Wayback Machine - https://web.archive.org/web/20250609163008/https://github.com/matplotlib/matplotlib/issues/21046
Skip to content

[Bug]: Difficult to make widget background transparent #21046

Open
@aleb

Description

@aleb

Bug summary

The widget background color is hardcoded white 3c83237#commitcomment-56308727

Code for reproduction

from matplotlib.backends.backend_gtk3cairo import FigureCanvasGTK3Cairo

x = FigureCanvasGTK3Cairo()

Actual outcome

background color is white

Expected outcome

background color can be configured transparent or other color

Operating system

No response

Matplotlib Version

https://files.pythonhosted.org/packages/11/6b/9c6bb4c1e8380d16dfb78709e907a469bf0ddb12a55249a15c3f15717862/matplotlib-3.4.3-cp38-cp38-manylinux1_x86_64.whl

Matplotlib Backend

gtk3cairo

Python version

No response

Jupyter version

No response

Other libraries

No response

Installation

No response

Conda channel

No response

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