I wish to modify the 2D line in my legend to plot as 
CodePudding user response:
The following approach uses the 
CodePudding user response:
I am not sure if this is your goal but here is a stab at it. Following 
I was unsuccessful in creating an actual ax.legend() from a LineCollection or a multicolored line - it only plotted one color - so my solution was this 'fake' legend approach. Hope this helps, cheers.
