Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Matplotlib 2 is extremely slow after plt.show() #8129

Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
@tomchor

Description

@tomchor
Issue body actions

I recently upgraded to matplotlib 2.0.0 and it has this weird behavior in the interactive window where after I do a plt.show and close the interactive window, it hangs and I can't type anything. I can only type if I press control+c, but even so it takes about 15 seconds before the KeyboardInterrupt sets in and then I can type.

The behavior can be reproduced simple with this code

from matplotlib import pyplot as plt
plt.plot(range(10))
plt.show()

Apparently this only happens with IPython, since I tried in a simple python session and there was no problem. But I think it's not IPython-related because this never happened with any of the previous Matplotlib versions, just version 2. So I thought I'd post this here instead on the IPython issues.

Matplotlib version 2.0.0
Python version 2.7.12
IPython version 2.4.1
Linux Mint 18.1
get_backend() output: 'TkAgg'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.