-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi. I'd love to use it for my personal habit tracking, but most of the time I just care about dont or not done. Thus, I'd want to have this orange (or white) for 0 and a dark green for 1.
Unfortunately, this is not what I get by
dates = pd.date_range(start='2024-01-01', end='2024-12-31')
values = np.random.randint(0, 2, size=len(dates))
lesley.cal_heatmap(dates, values)
How would I achieve this? My first intuition would be to hack together some kind of weird binary cmap, but I feel like this is not the way to go...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
