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

Make figure directly accessible through CodeExercise #77

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

agoscinski
Copy link
Collaborator

@agoscinski agoscinski commented Nov 29, 2024

If one output is only given that is translated to a CueFigure then it can be accessed with code_exercise.figure instead of code_exercise.output.figure


📚 Documentation preview 📚: https://scicode-widgets--77.org.readthedocs.build/en/77/

"agg" is the terminal Linux backend, since the user should be aware that
nothing can be shown in this case and raising an error prevents testing
certain functionalities, we support it and do the same commands as for
the "inline" backend.
If one output is only given that is translated to a `CueFigure` then it
can be accessed with `code_exercise.figure` instead of
`code_exercise.output.figure`
@agoscinski agoscinski force-pushed the api-direct-access-figure branch from 2a96a35 to 3f582f6 Compare November 29, 2024 14:22
@agoscinski agoscinski changed the title Make figure directly accesable through CodeExercise Make figure directly accessible through CodeExercise Nov 29, 2024
@agoscinski agoscinski merged commit 6f6974e into main Nov 29, 2024
3 checks passed
@agoscinski agoscinski deleted the api-direct-access-figure branch November 29, 2024 15:06
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