Dear all matplotlib users,
I have a user case that, let's say I have three series data: x,y,z.
I would like to make a scatter plot using (x,y) as coordinates and z as the
color of scatter points, using cmap keyword of plt.scatter. However, I
would like to highlight some specific point by using a
scatter does not (currently) support multiple markers in a single call.
You will have to do the group-by operation and call scatter is a loop.
If you define your cmap and norm outside of scatter, you can pass the same
instances into both calls to scatter to have mpl take care of that level of
I originally posted to Stack Overflow at
http://stackoverflow.com/q/38274681/2988730.
I am trying to follow the answer at
http://stackoverflow.com/a/38008501/2988730 to an earlier question of
mine to create colored and styled legend-like entries. I have the
following code:
import matplotlib