Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix axis mapping in plot_surface by updating meshgrid indexing (#30) #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

guilherme-marcello
Copy link

This PR addresses issue #30, which identified a bug in the plot_surface method of the FuzzySystem class.

To fix the issue, the meshgrid call in plot_surface has been updated to use matrix indexing (indexing="ij"), which aligns with the way C is constructed. This ensures that the surface plot is generated correctly, with the axes properly reflecting the input variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant