Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

BUG: Interactive mode slow #16294

Closed
Assignees
anntzer
Milestone
@larsoner

Description

@larsoner

Based ongit bisect it looks like#16028 caused a regression with interactive mode in Python 3.8, Qt5Agg backend (PyQt5=5.13.2), Linux x86_64 (at least; this is my system). The previous behavior (e.g., in98aceb1) is that just doing:

import matplotlib.pyplot as pltplt.ion()fig, ax = plt.subplots()

would pop up a plot, and:

  • Typing in the terminal worked fine
  • Hitting ctrl-C (and then enter) had normal terminal behavior:
    >>>Traceback (most recent call last):  File "<stdin>", line 1, in <module>KeyboardInterrupt>>>

But ine6ffa5d, I get:

  • Typing is very slow in the terminal (worsens with plot complexity)
  • Hitting ctrl-C kills the terminal:
    >>> Traceback (most recent call last):  File "/home/larsoner/python/matplotlib/lib/matplotlib/backends/backend_qt5.py", line 507, in _draw_idle    self.draw()...  File "/home/larsoner/python/matplotlib/lib/matplotlib/ticker.py", line 2081, in __call__    return self.tick_values(vmin, vmax)  File "/home/larsoner/python/matplotlib/lib/matplotlib/ticker.py", line 2089, in tick_values    locs = self._raw_ticks(vmin, vmax)  File "/home/larsoner/python/matplotlib/lib/matplotlib/ticker.py", line 2045, in _raw_ticks    istep = np.nonzero(steps >= raw_step)[0][0]KeyboardInterruptAborted

If this description is not clear I could record some screen-cast GIFs or something.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp