Skip to content

Commit 4fee85b

Browse files
committed
Fix import errors.
1 parent 644872b commit 4fee85b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/matplotlib/_api/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
.. warning:
55
6-
This module and its submodules is for internal use only.
6+
This module and its submodules are for internal use only.
77
88
"""
99

lib/matplotlib/patches.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import numpy as np
1010

1111
import matplotlib as mpl
12-
from . import (artist, cbook, colors, docstring, hatch as mhatch,
12+
from . import (_api, artist, cbook, colors, docstring, hatch as mhatch,
1313
lines as mlines, transforms)
1414
from .bezier import (
1515
NonIntersectingPathException, get_cos_sin, get_intersection,
@@ -2007,8 +2007,8 @@ def __init_subclass__(cls):
20072007
@cbook._delete_parameter("3.4", "mutation_aspect")
20082008
def call_wrapper(
20092009
self, x0, y0, width, height, mutation_size,
2010-
mutation_aspect=cbook.deprecation._deprecated_parameter):
2011-
if mutation_aspect is cbook.deprecation._deprecated_parameter:
2010+
mutation_aspect=_api.deprecation._deprecated_parameter):
2011+
if mutation_aspect is _api.deprecation._deprecated_parameter:
20122012
# Don't trigger deprecation warning internally.
20132013
return __call__(self, x0, y0, width, height, mutation_size)
20142014
else:

0 commit comments

Comments
 (0)