8000 Remove pre python2.6 workaround in multiprocess example · matplotlib/matplotlib@f33c490 · GitHub
[go: up one dir, main page]

Skip to content

Commit f33c490

Browse files
committed
Remove pre python2.6 workaround in multiprocess example
1 parent 44cebb9 commit f33c490

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

examples/misc/multiprocess.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
# Demo of using multiprocessing for generating data in one process and plotting
22
# in another.
33
# Written by Robert Cimrman
4-
# Requires >= Python 2.6 for the multiprocessing module or having the
5-
# standalone processing module installed
64

75
from __future__ import print_function
86
import time
9-
try:
10-
from multiprocessing import Process, Pipe
11-
except ImportError:
12-
from processing import Process, Pipe
7+
from multiprocessing import Process, Pipe
138
import numpy as np
149

1510
import matplotlib

0 commit comments

Comments
 (0)
0