From 33f7e247fa0394326be0a0c703492d963906a568 Mon Sep 17 00:00:00 2001 From: McKay Date: Fri, 23 Feb 2024 17:18:22 -0700 Subject: [PATCH] flattened allele data for plot --- CRISPResso2/CRISPRessoPlot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRISPResso2/CRISPRessoPlot.py b/CRISPResso2/CRISPRessoPlot.py index a9691917..24dae598 100644 --- a/CRISPResso2/CRISPRessoPlot.py +++ b/CRISPResso2/CRISPRessoPlot.py @@ -2560,7 +2560,7 @@ def _annotate_heatmap(self, ax, mesh): for x, y, m, color, val, per_element_dict in zip(xpos.flat, ypos.flat, - mesh.get_array(), mesh.get_facecolors(), + mesh.get_array().flat, mesh.get_facecolors(), self.annot_data.flat, self.per_element_annot_kws.flat): #print per_element_dict if m is not np.ma.masked: