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

Skip to content

Commit 73a82ee

Browse files
committed
Reorder imports.
1 parent 7476f6f commit 73a82ee

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

lib/matplotlib/artist.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22
unicode_literals)
33

44
import six
5-
from collections import OrderedDict, namedtuple
65

6+
from collections import OrderedDict, namedtuple
7+
from contextlib import contextmanager
8+
from functools import wraps
9+
import inspect
710
import re
811
import warnings
9-
import inspect
12+
1013
import numpy as np
14+
1115
import matplotlib
12-
import matplotlib.cbook as cbook
13-
from matplotlib import docstring, rcParams
14-
from .transforms import (Bbox, IdentityTransform, TransformedBbox,
15-
TransformedPatchPath, TransformedPath, Transform)
16+
from . import cbook, docstring, rcParams
1617
from .path import Path
17-
from functools import wraps
18-
from contextlib import contextmanager
18+
from .transforms import (Bbox, IdentityTransform, Transform, TransformedBbox,
19+
TransformedPatchPath, TransformedPath)
1920
# Note, matplotlib artists use the doc strings for set and get
2021
# methods to enable the introspection methods of setp and getp. Every
2122
# set_* method should have a docstring containing the line

0 commit comments

Comments
 (0)