From 4bd051adc8213d4fcc4aab32a6c0baf2f8063a60 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Wed, 19 Jul 2023 15:25:53 +0200 Subject: [PATCH] Remove unused private method --- lib/matplotlib/patches.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index 87c2942917c3..92dc55940b8a 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -1660,9 +1660,6 @@ def get_corners(self): return self.get_patch_transform().transform( [(-1, -1), (1, -1), (1, 1), (-1, 1)]) - def _calculate_length_between_points(self, x0, y0, x1, y1): - return np.sqrt((x1 - x0)**2 + (y1 - y0)**2) - def get_vertices(self): """ Return the vertices coordinates of the ellipse.