Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Reset the whole view of interactive app #74

Closed
fbanning opened this issue Sep 7, 2021 · 2 comments
Closed

Reset the whole view of interactive app #74

fbanning opened this issue Sep 7, 2021 · 2 comments

Comments

@fbanning
Copy link
Member

fbanning commented Sep 7, 2021

While exploring my ABMs, I often find myself updating parameters and resetting the model over and over again. Because of this, I'd like an ability to reset the whole view of the interactive app, i.e. having completely "blank" plots and a fresh view of the space and so on.

This could be done either via a new clear button or by extending the functionality of the existing reset button. Currently reset resets the underlying model to its initial state and draws a red vertical line in the plots after which the new series are drawn. Was this just a temporary workaround or was it a deliberate design decision to never completely clear the plots? Which option would you prefer - a new button or changing how the existing one works? Would love to hear your thoughts on this.

@Libbum
Copy link
Member

Libbum commented Sep 7, 2021

Pretty sure George was thinking that the restart line shows a discontinuation in an effectively infinite exploration. What that doesn't cover in my view, are models that have a clear temporal start and end. I think this is what you're hitting here as well.

I like the red lines for continuous resets, and I think your additional behaviour is welcomed. Best of both worlds makes adding a new button the clear winner.

@Datseris
Copy link
Member

Datseris commented Sep 7, 2021

yeah adding a new clear button is the way to go and thankfully quite simple given the current code. just copy the reset button and make it also make the plotted curves to be = Point2f0[].

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants