Home > Net >  Seaborn lineplot, different markers for different boolean values
Seaborn lineplot, different markers for different boolean values

Time:02-18

I have a dataframe that consists of 3 columns. Champion (categorical, holds string values), total damage done (numerical), win (holds Boolean values, True or False). I want to draw a line and I want its markers to be "o" if "win == True" and "x" if "win == False". I tried the code that I have attached here but it doesn't work.It gives ValueError: Filled and line art markers cannot be mixed.I tried to do it with hue or style but it changes the line style rather than marker. And I tried giving style my win column and I tried to make markers to follow from that, but that didn't work either. Can anyone help? Thanks enter image description here

  • Related