Skip to content

Commit

Permalink
Fix table display wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc authored May 27, 2024
1 parent cd614ba commit a6cbc56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
# limitations under the License.

from beakerx_tabledisplay import TableDisplay
from IPython.display import display_html
from IPython.display import display
import pandas

class TableDisplayWrapper(object):
def __get__(self, model_instance, model_class):
def f():
display_html(TableDisplay(model_instance))
display(TableDisplay(model_instance))

return f

Expand Down

0 comments on commit a6cbc56

Please sign in to comment.