Skip to content

plotting with TkAgg backend becomes unresponsive after a certain qt5agg backend import command #8402

Closed
@js54434

Description

@js54434

Bug report

I'm using a python library that happens to execute

from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas

When I plot using the TkAgg backend in interactive mode, the figure is unresponsive, though the data shows itself in that figure if I open a new figure.

Code for reproduction

import matplotlib.pyplot as plt
plt.ion()
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
plt.figure()
plt.plot([1], 'ko')     # plot a point

Actual outcome

The figure is unresponsive and blank, and the Mac spinning beachball symbol shows if I hover the cursor over it.

Expected outcome

The figure is plotted and responsive.

Matplotlib version

Matplotlib version 2.0.0.

python info:
Python 3.5.2 |Anaconda custom (x86_64)| (default, Jul 2 2016, 17:52:12)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin

Mac OS X, 10.11.6

Everything was installed using anaconda.

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