E472 consult rcParams for Figures on `fig.clf` · Issue #7434 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

consult rcParams for Figures on fig.clf #7434

@kaufman

Description

@kaufman

version: 2.0.0b1+1773.g3590ce2
installed from src, OSX, gtk backend

if I have in rcParams:
figure.subplot.top=0.9

and I do:

figure()
clf()
plot([],[])
draw()
show()

then, the top margin is respected, but if I already have a window with figure already open and I do

style.use('x') # where x.mplstyle has figure.subplot: 0.5
clf()
plot([],[])
draw()

then then top margin is not altered from 0.9 (like I might expect when changing the style).
I have to close the window and create a new one for this style change to have an effect. This is not expected behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0