From 7628f2b0979272ce1806ddbe3511b4f44c24d12c Mon Sep 17 00:00:00 2001 From: pierre Date: Thu, 19 Sep 2024 15:46:37 +0200 Subject: [PATCH] ... --- dialog.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dialog.py b/dialog.py index 7c9f816..8da2f3c 100755 --- a/dialog.py +++ b/dialog.py @@ -622,7 +622,11 @@ class PrefGraph(wx.Dialog): self.label_what = wx.StaticText(self, -1, _("Representation")) self.choice1 = wx.Choice(self, -1, (100,50), choices=[_("coordinates"),_("correlations")]) self.label_qui = wx.StaticText(self, -1, 'Variables') - self.choice2 = wx.Choice(self, -1, (100,50), choices=[_("actives") ,_("supplementaries"), _("stars"), _("clusters")]) + if self.paramgraph.get('islex', False) : + choix = [_("Rows"), _("Columns")] + else : + choix = [_("actives") ,_("supplementaries"), _("stars"), _("clusters")] + self.choice2 = wx.Choice(self, -1, (100,50), choices=choix) self.label_3 = wx.StaticText(self, -1, _("Text size")) self.spin3 = wx.SpinCtrl(self, -1, '', size = wx.DefaultSize, min=1, max=20) txt = _("Take the x first points") -- 2.7.4