diff --git a/pyaedt/generic/plot.py b/pyaedt/generic/plot.py index b5aa99ba256..c39cdfd18ef 100644 --- a/pyaedt/generic/plot.py +++ b/pyaedt/generic/plot.py @@ -1737,7 +1737,7 @@ def s_callback(): # pragma: no cover supported_export = [".svg", ".pdf", ".eps", ".ps", ".tex"] extension = os.path.splitext(export_image_path)[1] if extension in supported_export: - self.pv.save_graphic(export_image_path, raster=raster, painter=painter) + self.pv.save_graphic(export_image_path) else: self.pv.show(screenshot=export_image_path, full_screen=True) elif show and self.is_notebook: # pragma: no cover