Skip to content

Gap between X-axis and and imshow 2D plot in matplotlib 2.0.0 #8010

@fkbreitl

Description

@fkbreitl

These lines produce a gap between the X axis and the image:

    plt.rcParams['figure.figsize'] = [8, 7]
    plt.imshow([[1, 3], [2, 1]])
    plt.savefig('gap.jpg', dpi=50)

gap

Metadata

Metadata

Assignees

No one assigned

    Labels

    keepItems to be ignored by the “Stale” Github Action

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions