posit-dev / positron

Positron, a next-generation data science IDE
Other
2.56k stars 80 forks source link

No way to clear viewer with great-tables table #4601

Open testlabauto opened 1 month ago

testlabauto commented 1 month ago

System details:

Positron and OS details:

OSX 2024.09.0-8

Interpreter details:

Python 3.10.12

Describe the issue:

from great_tables import GT, exibble GT(exibble)

image

Steps to reproduce the issue:

  1. Simply run the two lines of code
  2. Note that there is no way to clear the viewer

Expected or desired behavior:

I would expect it to be possible to clear the viewer

Were there any error messages in the UI, Output panel, or Developer Tools console?

No

juliasilge commented 1 month ago

This is happening because great tables does not produce an HTML widget but just a little bit of HTML.