Correct filename of generated image
This commit is contained in:
@ -2259,7 +2259,7 @@ class IPyLammps(PyLammps):
|
||||
|
||||
self.write_dump(*cmd_args)
|
||||
from IPython.core.display import Image
|
||||
return Image('snapshot.png')
|
||||
return Image(filename)
|
||||
|
||||
def video(self, filename):
|
||||
from IPython.display import HTML
|
||||
|
||||
Reference in New Issue
Block a user