Do not show all permutations of symbols and colors as legend

I’d like to reduce the following legend:
Screenshot from 2020-11-17 13-31-09
to one, that would show colors
{YF: blue, PF: red}
and symbols

{cirlce: GUT, 
diamond: LIPOPROTEIN, 
square: FAT BODY, 
cross: WING DISC}

Sorry, already answered here: Plotly express how to separate symbol and color in legend