Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 69b1e76

Browse files
committed
MNT : use six to patch over import differences
1 parent d94085d commit 69b1e76

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/matplotlib/textpath.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
from six.moves import zip
88

99
import warnings
10-
if six.PY3:
11-
from urllib.parse import quote as urllib_quote
12-
else:
13-
from urllib import quote as urllib_quote
1410

1511
import numpy as np
1612

@@ -23,6 +19,7 @@
2319
import matplotlib.dviread as dviread
2420
from matplotlib.font_manager import FontProperties
2521
from matplotlib.transforms import Affine2D
22+
from six.moves.urllib.parse import quote as urllib_quote
2623

2724

2825
class TextToPath(object):

0 commit comments

Comments
 (0)