Closed
Description
Plotly is an amazing tool! However, the plotly.graph_objects.Table element takes up way too much vertical space.
This can be observed even inside the tables rendered in the plotly documentation:
https://plotly.com/python/table/
On my firefox browser, the very first table in that page only needs about 150 px of vertical space, but is somehow requesting a height of 525!
The rendered HTML in question looks like:
<g class="table" overflow="visible"
style="box-sizing: content-box; position: absolute; left: 0px; overflow: visible; shape-rendering: crispedges; pointer-events: all;"
width="734" height="525" transform="">
<g class="table-control-view"...></g></g>
The other tables on that page have similar issues.
For a work-around, I noticed the dash-sample-apps manually create HTML table elements (e.g. make_dash_table
in https://github.com/plotly/dash-sample-apps/blob/main/apps/dash-drug-discovery/helpers.py)
Metadata
Metadata
Assignees
Labels
No labels