Skip to content

Commit

Permalink
iss #381 rename _set_color_map_colors private prop
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenholleran committed May 17, 2023
1 parent fc7cf9c commit 0eb054f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions brightwind/analyse/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def __init__(self):
self.tenth = '#A49E9D' # Quick Silver, rgb(164/255, 158/255, 157/255)
self.eleventh = '#DA9BA6' # Parrot Pink, rgb(218/255, 155/255, 166/255)

self._set_color_map_colors = None
self._color_map_colors = None
self._set_color_map_cyclical_colors = None

# set the mpl color cycler to our colors. It has 10 colors
Expand Down Expand Up @@ -195,11 +195,11 @@ def color_map_colors(self):

@color_map_colors.setter
def color_map_colors(self, val):
self._set_color_map_colors = val
self._color_map_colors = val

def _get_color_map_colors(self):
if self._set_color_map_colors:
color_map_colors = self._set_color_map_colors
if self._color_map_colors:
color_map_colors = self._color_map_colors
else:
color_map_colors = [self.primary_95, # lightest primary
self.primary, # primary
Expand Down

0 comments on commit 0eb054f

Please sign in to comment.