mwouts / itables

Pandas DataFrames as Interactive DataTables
https://mwouts.github.io/itables/
MIT License
723 stars 54 forks source link

Column width miss-match in notebook vs jupyter-book #175

Closed avivajpeyi closed 2 weeks ago

avivajpeyi commented 1 year ago

Hey @mwouts

I noticed a miss match in column size between my notebook and the jupyter-page of the notebook. Have you come across this issue before?

Screenshot from notebook Screenshot from 2023-03-29 13-16-31

Screenshot from jupyter-book Screenshot from 2023-03-29 13-24-52

avivajpeyi commented 1 year ago

This occurs due to the column label being an empty string " ". adding some text to the column name:

Screenshot from 2023-03-29 14-51-18

mwouts commented 1 year ago

Thanks @avivajpeyi for reporting this, and for documenting a workaround. I will investigate when time permits.

mwouts commented 2 weeks ago

Hi @avivajpeyi , it has been a while so I will close this issue. By the way, I also wanted to let you know that itables==2.1.2 (just released!) is expected to provide a more similar rendering between Jupyter and Jupyter Book.