from __future__ import (absolute_import, division, print_function,
                        unicode_literals)

from matplotlib.externals import six

from .axislines import Axes, Subplot, AxesZero, SubplotZero, GridHelperRectlinear, \
     AxisArtistHelperRectlinear, AxisArtistHelper, GridHelperBase, AxisArtist
from .axis_artist import AxisArtist, GridlinesCollection

from .grid_helper_curvelinear import GridHelperCurveLinear

from .floating_axes import FloatingAxes, FloatingSubplot

from mpl_toolkits.axes_grid1.parasite_axes import \
     subplot_class_factory, \
     parasite_axes_class_factory, parasite_axes_auxtrans_class_factory, \
     host_axes_class_factory

ParasiteAxes = parasite_axes_class_factory(Axes)

ParasiteAxesAuxTrans = parasite_axes_auxtrans_class_factory(axes_class=ParasiteAxes)

HostAxes = host_axes_class_factory(axes_class=Axes)

SubplotHost = subplot_class_factory(HostAxes)
