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"]
25 for module
in __allmodules__
:
26 importlib
.import_module('.' + module
, package
='pyx.graph.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__