From a5cc6805598ebdf80efc9f35fe6bb550211f176f Mon Sep 17 00:00:00 2001 From: Jean Connelly Date: Thu, 21 Feb 2019 08:36:20 -0500 Subject: [PATCH] Assign a type to get_guide_catalog cats to plot --- proseco/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proseco/core.py b/proseco/core.py index 92ee09bd..65df2dc0 100644 --- a/proseco/core.py +++ b/proseco/core.py @@ -678,9 +678,9 @@ def get_catalog_for_plot(self): of changing all the `type` column values to self.catalog_type (e.g. 'ACQ'). """ - catalog = self.as_array() if self.catalog_type: - catalog['type'] = self.catalog_type + self['type'] = self.catalog_type + catalog = self.as_array() return catalog def plot(self, ax=None, **kwargs):