But the rect renders as having a blue border (black in the legend). Per docs:
border color for rectangle border(s). The default means par("fg"). Use border = NA to omit borders. If there are shading lines, border = TRUE means use the same color for the border as for the shading lines.
Looks like our legend does the right thing, but our rect does the wrong thing? Either way, these two should match.
But the rect renders as having a blue border (black in the legend). Per docs:
Looks like our legend does the right thing, but our rect does the wrong thing? Either way, these two should match.