From c68a442dc375a973ef78dea4f6c3f010b209014d Mon Sep 17 00:00:00 2001 From: guilherme-marcello Date: Sun, 29 Sep 2024 13:44:20 +0100 Subject: [PATCH] Fix incorrect axis mapping in plot_surface by using 'ij' indexing in meshgrid --- simpful/simpful.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpful/simpful.py b/simpful/simpful.py index df11616..23b9011 100644 --- a/simpful/simpful.py +++ b/simpful/simpful.py @@ -1023,7 +1023,7 @@ def plot_surface(self, variables, output, detail=40, color_map="plasma", outputf C.append(temp) C = array(C) - A,B = meshgrid(A,B) + A,B = meshgrid(A,B, indexing="ij") fig = figure(figsize=(8,6)) ax = axes(projection='3d')