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 f226ccc8 authored by EXT José Ignacio Requeno Jarabo's avatar EXT José Ignacio Requeno Jarabo
Browse files

Bugfix in scaling

parent 55cf6e66
Pipeline #32877 passed with stages
in 27 minutes and 12 seconds
......@@ -1090,8 +1090,11 @@ 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)
min_c = minimum(self.min_corner, self.max_corner)
max_c = maximum(self.min_corner, self.max_corner)
self.min_corner = min_c
self.max_corner = max_c
# Matplot functions
def plot_2D(self, c='red', xaxe=0, yaxe=1, opacity=1.0):
......
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