1 # -*- encoding: utf-8 -*-
4 # Copyright (C) 2004-2012 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
24 __allmodules__
= ["data", "key", "style", "axis"]
25 for module
in __allmodules__
:
26 importlib
.import_module('.' + module
, package
='pyx.graph')
29 __allgraph__
= ["graphx", "graphxy", "graphxyz"]
30 for importfromgraph
in __allgraph__
:
31 locals()[importfromgraph
] = getattr(graph
, importfromgraph
)
33 __all__
= __allmodules__
+ __allgraph__