Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1e9d78 commit f6a805eCopy full SHA for f6a805e
1 file changed
lib/matplotlib/tests/test_backends_interactive.py
@@ -634,12 +634,9 @@ def _impl_test_interactive_timers():
634
# milliseconds, which the mac framework interprets as singleshot.
635
# We only want singleshot if we specify that ourselves, otherwise we want
636
# a repeating timer
637
- import os
638
from unittest.mock import Mock
639
import matplotlib.pyplot as plt
640
- # increase pause duration on CI to let things spin up
641
- # particularly relevant for gtk3cairo
642
- pause_time = 2 if os.getenv("CI") else 0.5
+ pause_time = 0.5
643
fig = plt.figure()
644
plt.pause(pause_time)
645
timer = fig.canvas.new_timer(0.1)
0 commit comments