Skip to content

Commit ccd217e

Browse files
committed
PEP8/MNT : reorder/clean imports an patches.py
1 parent 305540b commit ccd217e

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

lib/matplotlib/patches.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@
1717
from matplotlib import docstring
1818
import matplotlib.transforms as transforms
1919
from matplotlib.path import Path
20-
from matplotlib.cbook import mplDeprecation
20+
21+
from matplotlib.bezier import split_bezier_intersecting_with_closedpath
22+
from matplotlib.bezier import get_intersection, inside_circle, get_parallels
23+
from matplotlib.bezier import make_wedged_bezier2
24+
from matplotlib.bezier import split_path_inout, get_cos_sin
25+
from matplotlib.bezier import make_path_regular, concatenate_paths
26+
2127

2228
# these are not available for the object inspector until after the
2329
# class is built so we define an initial set here for the init
@@ -2540,13 +2546,6 @@ def get_bbox(self):
25402546
self._width, self._height)
25412547

25422548

2543-
from matplotlib.bezier import split_bezier_intersecting_with_closedpath
2544-
from matplotlib.bezier import get_intersection, inside_circle, get_parallels
2545-
from matplotlib.bezier import make_wedged_bezier2
2546-
from matplotlib.bezier import split_path_inout, get_cos_sin
2547-
from matplotlib.bezier import make_path_regular, concatenate_paths
2548-
2549-
25502549
class ConnectionStyle(_Style):
25512550
"""
25522551
:class:`ConnectionStyle` is a container class which defines

0 commit comments

Comments
 (0)