create py3k branch
[PyX.git] / pyx / graph / axis / __init__.py
blob3bf9d22867821108f9ad9d594a6aec2bebb61621
1 # -*- encoding: utf-8 -*-
4 # Copyright (C) 2004-2006 André Wobst <wobsta@users.sourceforge.net>
6 # This file is part of PyX (http://pyx.sourceforge.net/).
8 # PyX is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # PyX is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with PyX; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 __allmodules__ = ["painter", "parter", "rater", "texter", "tick"]
24 import importlib
25 for module in __allmodules__:
26 importlib.import_module('.' + module, package='pyx.graph.axis')
28 from . import axis
29 __allaxis__ = ["linear", "lin", "logarithmic", "log",
30 "bar", "nestedbar", "split",
31 "sizedlinear", "sizedlin", "autosizedlinear", "autosizedlin",
32 "anchoredaxis", "linkedaxis",
33 "anchoredpathaxis", "pathaxis"]
34 for importfromaxis in __allaxis__:
35 locals()[importfromaxis] = getattr(axis, importfromaxis)
37 __all__ = __allmodules__ + __allaxis__