diff --git a/python/lammps.py b/python/lammps.py index 7854edf01a..62d0d04f4e 100644 --- a/python/lammps.py +++ b/python/lammps.py @@ -384,7 +384,7 @@ class Atom(object): return self.lmp.eval("q[%d]" % self.index) -class LammpsWrapper(object): +class PyLammps(object): """ More Python-like wrapper for LAMMPS (e.g., for iPython) See examples/ipython for usage @@ -573,13 +573,13 @@ class LammpsWrapper(object): return handler -class LammpsIPythonWrapper(LammpsWrapper): +class IPyLammps(PyLammps): """ iPython wrapper for LAMMPS which adds embedded graphics capabilities """ def __init__(self, lmp): - super(LammpsIPythonWrapper, self).__init__(lmp) + super(IPyLammps, self).__init__(lmp) def image(self, filename="snapshot.png", group="all", color="type", diameter="type", size=None, view=None, center=None, up=None, zoom=1.0):