From ac826283d4655ebe347b311e25574893c31dbb4d Mon Sep 17 00:00:00 2001 From: syntonym Date: Tue, 16 Mar 2021 20:15:00 +0100 Subject: [PATCH] Update table when new data is loaded --- menqu/__init__.py | 2 +- menqu/plot.py | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/menqu/__init__.py b/menqu/__init__.py index 88c513e..903a158 100644 --- a/menqu/__init__.py +++ b/menqu/__init__.py @@ -1 +1 @@ -__version__ = "3.3.0" +__version__ = "3.4.0" diff --git a/menqu/plot.py b/menqu/plot.py index 1753d27..9a2fcf6 100644 --- a/menqu/plot.py +++ b/menqu/plot.py @@ -321,6 +321,14 @@ def load_data_to_plots(self): self.bargraphs.redraw() + self.table._gene_data = gene_data + self.table._condition_data = condition_data + self.table._genes = genes + self.table._conditions = conditions + self.table._samples = samples + + self.table.redraw() + def save_to_menqu(self, filename): self._get_color_data() with open(filename, mode="wb") as f: