X Tutup
Skip to content

nbagg doesn't change figure's facecolor #7534

@dinya

Description

@dinya
%matplotlib nbagg

import matplotlib.pyplot as plt

fig = plt.figure()
fig.set_facecolor('yellow')

ax1 = fig.add_subplot(1,1,1)

ax1.plot([1,2,3], [1,2,3], "b-")
plt.show()

figure facecolor is still white.

But ngagg works fine with

%matplotlib inline

See also #5317.

I use (installed with conda):

Details

python: 2.7.12.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 37 Stepping 5, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None

numpy: 1.11.2
IPython: 5.1.0
matplotlib: 1.5.3

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

      X Tutup