#
# Copyright 2018-2025 the orix developers
#
# This file is part of orix.
#
# orix is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# orix is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with orix. If not, see <http://www.gnu.org/licenses/>.
#

from ._plot import register_projections
from ._util.formatting import format_labels
from .crystal_map_plot import CrystalMapPlot
from .direction_color_keys import DirectionColorKeyTSL
from .orientation_color_keys import EulerColorKey, IPFColorKeyTSL
from .rotation_plot import (
    AxAnglePlot,
    HomochoricPlot,
    RodriguesPlot,
    RotationPlot,
)
from .stereographic_plot import StereographicPlot

# Must be imported below StereographicPlot since it imports it
from .inverse_pole_figure_plot import InversePoleFigurePlot  # isort: skip

# Lazily imported in module init
__all__ = [
    # Classes
    "AxAnglePlot",
    "CrystalMapPlot",
    "DirectionColorKeyTSL",
    "EulerColorKey",
    "HomochoricPlot",
    "InversePoleFigurePlot",
    "IPFColorKeyTSL",
    "RodriguesPlot",
    "RotationPlot",
    "StereographicPlot",
    # Functions
    "format_labels",
    "register_projections",
]
