Skip to content

Commit

Permalink
added factors_xhue_list
Browse files Browse the repository at this point in the history
  • Loading branch information
markur4 committed Dec 4, 2023
1 parent d171475 commit 09930f8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/plotastic/dimensions/dimsandlevels.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,17 @@ def factors_xhue(self) -> str | list[str]:
else:
xhue = self.dims.x
return xhue



@property #' [row, col]; [row]; [col]; [""]
def factors_xhue_list(self) -> list[str]:
if self.dims.hue:
xhue = [self.dims.x, self.dims.hue]
else:
xhue = [self.dims.x]
return xhue


# @property
# def factors_huex(self) -> str | tuple[str]:
# """
Expand Down

0 comments on commit 09930f8

Please sign in to comment.