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

Cannot clear canvas after canvas.interact() #402

Open
scottwittenburg opened this issue Apr 17, 2019 · 0 comments
Open

Cannot clear canvas after canvas.interact() #402

scottwittenburg opened this issue Apr 17, 2019 · 0 comments

Comments

@scottwittenburg
Copy link
Collaborator

The interaction buttons remain on the screen after calling x.clear().

$ python
Python 3.6.7 | packaged by conda-forge | (default, Feb 28 2019, 02:16:08) 
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import vcs
>>> x = vcs.init()
>>> x.plot([[1, 2, 3],[3, 2, 1]])
<vcs.displayplot.Dp object at 0x126e626c8>
>>> x.interact()

No go interact, or don't. Either way, type q when you're ready to go back to the terminal and do:

x.clear()

The plot will be cleared except for the buttons.

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

No branches or pull requests

1 participant