Skip to content

Displayed matplotlib figures get grey background since 1.0 #4307

@jorisvandenbossche

Description

@jorisvandenbossche

If you display matplotlib figures with display(fig) or just by returning fig (so without the inline backend enabled), these figures have a grey background color in the border (as the figures also have in the seperate matplotlib figure window when interactive plotting is on) since 1.0.
See eg:

Is this a deliberate change? I think the previous white background was better for in the notebook.
You can change this manually if you set in the beginning of each notebook: matplotlib.rcParams['figure.facecolor'] = 'w'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions