Relative Content

Tag Archive for pythonmatplotlibcolors

Color mismatch between a triplot and a linecollection in the same figure

I am plotting a triangle mesh with vertex colors given by the x-coordinate of each vertex, along with a collection of line segments with colors given by the x-coordinate of each midpoint. The triangle mesh in question is an “angle bracket shape with a circular cut-away” and the line segments are the boundary of the circular cut-away. I get the following image: