I am really new to Plot.ly (just started working on it yesterday) and I am using the Python offline version.
I am building a simple scatter plot with 2 Categories (Category 1 - square markers, Category 2 - circular markers) and both the markers are black in color. I have used two traces to come to this scatter plot.
Now I want to use another attribute “Algo X” which can have value -1 (red), 0(orange) or 1 (green) and add that to my plot such that the colors of the square and circular markers change based on the value in “Algo X” that is the circle/square become red or orange or green.
Any ideas how I can achieve this?