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

Return solution in functions plotting scenarios #76

Open
natema opened this issue Sep 27, 2022 · 2 comments
Open

Return solution in functions plotting scenarios #76

natema opened this issue Sep 27, 2022 · 2 comments
Labels
newfeature New feature or request

Comments

@natema
Copy link
Member

natema commented Sep 27, 2022

The functions reproducing the plots internally solve the system and then only return the plot.
It would be handy to also have the solution available.
I'm not advancing any strong opinion on how this should happen (e.g. returning the solution together with the plot), but it's currently a waste to solve the system and then drop the solution away after plotting.
In trying to diagnose #67 for example, I would have liked to be easily able to inspect the solution on which the plot is based.

@paulobruno
Copy link
Collaborator

paulobruno commented Sep 29, 2022

This brings to my mind a related question: should we make available everything that is used to build a figure?
More specifically, for each figure xx should we have functions variables_xx(), solution_xx(), system_xx() that return, respectively, the variables, solution, and system corresponding to figure xx?

@natema
Copy link
Member Author

natema commented Sep 29, 2022

I think so.

@paulobruno paulobruno added the newfeature New feature or request label Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
newfeature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants