aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/matplotlib/py3/mpl_toolkits/axisartist/axes_grid.py
blob: ecb3e9d92c18d44dacb75dba0b85f019e0dba7a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from matplotlib import _api

import mpl_toolkits.axes_grid1.axes_grid as axes_grid_orig
from .axislines import Axes


_api.warn_deprecated(
    "3.8", name=__name__, obj_type="module", alternative="axes_grid1.axes_grid")


@_api.deprecated("3.8", alternative=(
    "axes_grid1.axes_grid.Grid(..., axes_class=axislines.Axes"))
class Grid(axes_grid_orig.Grid):
    _defaultAxesClass = Axes


@_api.deprecated("3.8", alternative=(
    "axes_grid1.axes_grid.ImageGrid(..., axes_class=axislines.Axes"))
class ImageGrid(axes_grid_orig.ImageGrid):
    _defaultAxesClass = Axes


AxesGrid = ImageGrid