diff --git a/core_tools/utility/powerpoint.py b/core_tools/utility/powerpoint.py index 324aacb28b0763cbf52a1536520b89d9f455c4b6..561b47672d24022ee9180ca53908f2c2bec86404 100644 --- a/core_tools/utility/powerpoint.py +++ b/core_tools/utility/powerpoint.py @@ -265,10 +265,6 @@ try: elif isinstance(fig, int): fig = plt.figure(fig) fig.savefig(fname) - elif isinstance(fig, QtWidgets.QWidget): - # generic method - figtemp = fig.plotwin.grab() - figtemp.save(fname) elif isinstance(fig, QtWidgets.QWidget): try: figtemp = QtGui.QPixmap.grabWidget(fig)