I'm trying to add backgrounds to certain cells in a table. I do it by putting these lines in the TableStyle
# set font size and color for third and fourth columns
('FONTSIZE',(2,1),(3,-1),12),
('TEXTCOLOR',(2,1),(3,-1),colors.black),
('BACKGROUND',(2,1),(3,-1),bcolor),
```
Which kind of works but the BACKGROUND is shifted down in the table when it is displayed. The background starts from the middle of the cell and goes to the middle of the cell below it.
I don't think I can post a screenshot unfortunately.
If anyone has any ideas about this I'd appreciate it.