Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

transfer back in libreoffice's worksheet some mathematical results is obtained by:

cell2 = sheet.getCellRangeByName("F1")
cell2.Value = XXX cell2 =
sheet.getCellRangeByName("F2")
cell2.Value = YYY

etc. etc. and you already know how to do this in your python script. How these returned data are used by the spreadsheet to present some graphical output (by the spreadsheet) is unrelated.

(If you want to create an image, to put in the spreadsheet, from all these, unrelated to LO imports such as numpy, scipy, matplotlib etc., then better ask any of the related python forums.)

transfer back in libreoffice's worksheet some mathematical results is obtained by:

cell2 = sheet.getCellRangeByName("F1")
cell2.Value = XXX cell2 =
sheet.getCellRangeByName("F2")
cell2.Value = YYY

etc. etc. and you already know how to do this in your python script. How these returned data are used by the spreadsheet to present some graphical output (by the spreadsheet) is unrelated.

(If you want do not know how to create an image, to put in the spreadsheet, from all these, unrelated to LO imports such as numpy, scipy, matplotlib etc., then better ask any of the related python forums.)

transfer back in libreoffice's worksheet some mathematical results is obtained by:

cell2 = sheet.getCellRangeByName("F1")
cell2.Value = XXX XXX
cell2 =
= sheet.getCellRangeByName("F2")
cell2.Value = YYY

etc. etc. and you already know how to do this in your python script. How these returned data are used by the spreadsheet to present some graphical output (by the spreadsheet) is unrelated.

(If you do not know how to create an image, to put in the spreadsheet, from all these, unrelated to LO imports such as numpy, scipy, matplotlib etc., then better ask any of the related python forums.)