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 figure not properly closed in CodeExercise with parameters #94

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

agoscinski
Copy link
Collaborator

@agoscinski agoscinski commented Dec 17, 2024

When a CodeExercise with parameters is created and a figure is created the <Figure size 640x480 with 0 Axes> is displayed. This is prevented by closing the figure when CueFigure is created. I am not sure why this happens. It could be related to interact. It can be fixed by moving the CueFigure creation before the ParameterPanel creation.


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

When a CodeExercise with parameters is created the `<Figure size 640x480
with 0 Axes>` the CueFigure is created. I am not sure why this happens.
It could be related to interact. It can be fixed by moving the CueFigure
creation before the ParameterPanel creation
@agoscinski agoscinski merged commit c2af1b1 into main Dec 17, 2024
2 of 3 checks passed
@agoscinski agoscinski deleted the fix-figure-shown branch December 17, 2024 11:01
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