iPython hangs when calling show with Matplotlib 1.5.3 and 'TkAgg' backend · Issue #8845 · matplotlib/matplotlib · GitHub
Skip to content

iPython hangs when calling show with Matplotlib 1.5.3 and 'TkAgg' backend #8845

Description

@djkirkham

Bug report

Bug summary

When using Matplotlib 1.5.3 in iPython with the TkAgg backend, control is not returned to iPython after showing a plot and closing the window.

Code for reproduction

In [1]: import matplotlib as mpl

In [2]: mpl.use('TkAgg')

In [3]: import matplotlib.pyplot as plt

In [4]: plt.plot([0, 1])
Out[4]: [<matplotlib.lines.Line2D at 0x7fb09f2a0350>]

In [5]: plt.show()

Actual outcome

Closing the window does not return control to iPython

Matplotlib version

  • Operating System: Linux
  • Matplotlib Version: 1.5.3
  • Python Version: 2.7
  • Other Libraries: iPython 4.1.2, but it happens with other versions too.

Installed via conda via conda-forge channel

The issue doesn't occur in 2.0. Are there likely to be any more 1.5 point releases?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions