X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/blobdiff_plain/51e97eade63b2f4c7b500feb503436cc4a886e59..197818714e75c2353ed8b7c9fec653f1212f13ae:/examples/menger.py diff --git a/examples/menger.py b/examples/menger.py index b6ab90d..064219e 100755 --- a/examples/menger.py +++ b/examples/menger.py @@ -1,21 +1,21 @@ #!/usr/bin/env python3 - -""" - This file is part of Linpy. - - Linpy 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. - - Linpy 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 Linpy. If not, see . -""" +# +# Copyright 2014 MINES ParisTech +# +# This file is part of LinPy. +# +# LinPy 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. +# +# LinPy 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 LinPy. If not, see . import argparse @@ -26,7 +26,7 @@ from math import ceil from matplotlib import pylab from mpl_toolkits.mplot3d import Axes3D -from pypol import * +from linpy import * x, y, z = symbols('x y z') @@ -84,5 +84,3 @@ if __name__ == '__main__': plot = fig.add_subplot(1, 1, 1, projection='3d', aspect='equal') fractal.plot(plot) pylab.show() - -# Copyright 2014 MINES ParisTech