Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 55cf6e66 authored by EXT José Ignacio Requeno Jarabo's avatar EXT José Ignacio Requeno Jarabo
Browse files

Bugfixing in scaling rectangles

parent a7ac1b01
Pipeline #32873 canceled with stages
......@@ -1090,6 +1090,9 @@ class Rectangle(object):
self.min_corner = f(self.min_corner)
self.max_corner = f(self.max_corner)
self.min_corner = minimum(self.min_corner, self.max_corner)
self.max_corner = maximum(self.min_corner, self.max_corner)
# Matplot functions
def plot_2D(self, c='red', xaxe=0, yaxe=1, opacity=1.0):
# type: (Rectangle, str, int, int, float) -> patches.Rectangle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment