Skip to content

set_xlim() crashes kernel if interpolation='none' #3091

@bennettbrowniowa

Description

@bennettbrowniowa

Using matplotlib 1.3.1-3, the following code causes my Python kernel to crash.

img = plt.imread("cat.png")
fig, ax = plt.subplots(1, 3)
ax[0].imshow(img, interpolation='none')
ax[0].set_xlim(135,165) # larger than image
fig.show()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy