matplotlib creates “broken” filled curves made out of segments rather than a solid polygon
I have a fairly complex figure made with matplotlib. At some point, the code draws a “filled curve”. With resolution of 100 DPI, the figure looks nice. However, by increasing the DPI, the filled polygons start to look as made out of horizontal segments, with 1 px void between them.
Python: Draw onto image, then show and save result
I’m am somewhat of a beginner regarding Python and currently stumbling over a problem that sounds easy to do but already cost me hours because I can’t figure it out. This is what I want to do: