Closed jklap closed 1 year ago
Oh I see... thanks for pointing this out! This is interesting and I will release a fix soon. Do you mind to use version 1.4.3 meanwhile?
Right, had to back down to 1.4.3. Thanks!
Hey @jklap , I have a PR ready for this. Could you please give it a try with this command?
pip install git+https://github.com/mwouts/itables.git@fix_2d_lengthMenu
Thanks!
@mwouts -- no longer seeing the issue! I verified it was still happening and then upgraded just to be sure!
Great news! I have just released the new version itables==1.4.5
(now on pip
, will soon appear on conda-forge
)
The above recent change, specifically
min(kwargs["lengthMenu"])
causes a problem if, for example, the following was passed in:According to the DataTables documentation
lengthMenu
can be 1D or 2D array and if 2D then the second array is for display-- hence can be ignored for yourmin()
... therefore: