Check if points are inside ellipse faster than contains_point method
问题 I use matplotlib 1.15.1 and I try to generate scattergrams like this: The ellipses have fixes size and are drawn with center coordinates, width, height and angle (provided from outside): I have no idea what their equotions are. g_ell_center = (0.8882, 0.8882) g_ell_width = 0.36401857095483 g_ell_height = 0.16928136341606 g_ellipse = patches.Ellipse(g_ell_center, g_ell_width, g_ell_height, angle=angle, fill=False, edgecolor='green', linewidth=2) This ellipses should mark normal and semi-normal