vcs icon indicating copy to clipboard operation
vcs copied to clipboard

Cannot clear canvas after canvas.interact()

Open scottwittenburg opened this issue 5 years ago • 0 comments

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.

scottwittenburg avatar Apr 17 '19 22:04 scottwittenburg