Table from Plotly.JS component in Epyk will be using the property plotly from the ui.tables property.
the ui entry point will give you access to all the registered components. Different flavour of buttons are available in the framework.
More information about this chart here
from epyk.core.Page import Report
from epyk.tests import data_urls
# Create a basic report object
rptObj = Report()
data_rest_1 = rptObj.py.requests.csv(data_urls.DC_QUAKES)
tb = rptObj.ui.tables.plotlys.table(data_rest_1, ['agency', 'origintime'], ['longitude', 'latitude'])
rptObj.outs.jupyter()
from epyk.core.Page import Report
from epyk.tests import data_urls
from epyk.core.css import Colors
# Create a basic report object
rptObj = Report()
data_rest_1 = rptObj.py.requests.csv(data_urls.DC_QUAKES)
tb2 = rptObj.ui.tables.plotlys.table(data_rest_1, ['status', 'phases', 'origin_geom'], ['longitude', 'latitude', 'depth'])
# Change the color of the first column
# and remove the background for the other columns
tb2.columns_color(["red", Colors.RgbColors.TRANSPARENT])
# Change the header color
tb2.headers_color(['black'])
tb2.headers_font_color(['white'])
rptObj.outs.jupyter()