I want to export plot as png or jpeg. Python 2.7 But i cant save file
Traceback (most recent call last):
File "/home/qssha/.local/lib/python2.7/site-packages/pyqtgraph/exporters/Exporter.py", line 77, in fileSaveFinished
self.export(fileName=fileName, **self.fileDialog.opts)
File "/home/qssha/.local/lib/python2.7/site-packages/pyqtgraph/exporters/ImageExporter.py", line 70, in export
bg = np.empty((self.params['width'], self.params['height'], 4), dtype=np.ubyte)
TypeError: 'float' object cannot be interpreted as an index