Skip to content

Commit

Permalink
Fix table display wrapper (#103)
Browse files Browse the repository at this point in the history
* Fix table display wrapper

* Bump version

* Bump python version
  • Loading branch information
trungleduc authored May 28, 2024
1 parent cd614ba commit db64522
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion beakerx_tabledisplay/beakerx_tabledisplay/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version_info = (2, 4, 3)
version_info = (2, 4, 4)
__version__ = '.'.join(map(str, version_info))
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
2 changes: 1 addition & 1 deletion beakerx_tabledisplay/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@beakerx/beakerx-tabledisplay",
"version": "2.4.3",
"version": "2.4.4",
"description": "BeakerX: Beaker TableDisplay Extension for Jupyter Notebook and Lab",
"homepage": "http://beakerx.com/",
"keywords": [
Expand Down

0 comments on commit db64522

Please sign in to comment.