Skip to content

frameon=False shifts plot axes to to the right and increases figure width #1586

@pmacaodh

Description

@pmacaodh

The frameon argument shifts the plot axes to the right leaving a strip of blank canvas to the left of the plot axes, while increasing the figure's width. Altogether, a highly undesirable side-effect.

pylab.plot(range(10));
ax=pylab.gca();
ax.legend('test', frameon=False)

I'm using 1.2.0rc3

A search for frameon in issues produced nothing describing this problem. A wider google search uncovered a couple of references to this problem but the solution still eludes me.

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