Gap between X-axis and and imshow 2D plot in matplotlib 2.0.0 · Issue #8010 · matplotlib/matplotlib · GitHub
Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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