Skip to content

Commit

Permalink
Assign a type to get_guide_catalog cats to plot
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanconn committed Feb 21, 2019
1 parent edee25b commit a5cc680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proseco/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a5cc680

Please sign in to comment.