X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=search_list.py;h=d155200d6e3eec57ca5eb94258b586c4e7683009;hp=74859842b6635a48361ace8edc7162e4970b4990;hb=5064efb501867baf6736aad84a3bb0571669a41a;hpb=6523e3596df7ec9b7b94b875593953d4b34b6117 diff --git a/search_list.py b/search_list.py index 7485984..d155200 100644 --- a/search_list.py +++ b/search_list.py @@ -265,17 +265,6 @@ class SearchList(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ColumnSort rownames = [val[1] for val in datas] table = [[str(val) for val in line[2:]] for line in datas] BarFrame(self.parent.parent, table, colnames, rownames) -# tmpgraph = tempfile.mktemp(dir=self.parent.parent.TEMPDIR) -# txt = barplot(table, rownames, colnames, self.parent.parent.RscriptsPath['Rgraph'], tmpgraph) -# tmpscript = tempfile.mktemp(dir=self.parent.parent.TEMPDIR) -# with open(tmpscript,'w') as f : -# f.write(txt) -# exec_rcode(self.parent.parent.RPath, tmpscript, wait = True) -# win = MessageImage(self, u"Graphique", size=(700, 500)) -# win.addsaveimage(tmpgraph) -# txt = "" % tmpgraph -# win.HtmlPage.SetPage(txt) -# win.Show(True) def ongraphdendro(self, evt) : corpus = self.parent.corpus @@ -290,13 +279,3 @@ class SearchList(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ColumnSort table = [[str(val) for val in line[2:]] for line in datas] tmpgraph = tempfile.mktemp(dir=self.parent.parent.TEMPDIR) BarFrame(self.parent.parent, table, colnames, rownames, tree = corpus.dictpathout['Rdendro']) -# txt = dendroandbarplot(table, rownames, colnames, self.parent.parent.RscriptsPath['Rgraph'], tmpgraph, dendro=corpus.dictpathout['Rdendro']) -# tmpscript = tempfile.mktemp(dir=self.parent.parent.TEMPDIR) -# with open(tmpscript,'w') as f : -# f.write(txt) -# exec_rcode(self.parent.parent.RPath, tmpscript, wait = True) -# win = MessageImage(self, u"Graphique", size=(700, 500)) -# win.addsaveimage(tmpgraph) -# txt = "" % tmpgraph -# win.HtmlPage.SetPage(txt) -# win.Show(True)