facebookresearch / hiplot

HiPlot makes understanding high dimensional data easy
https://facebookresearch.github.io/hiplot/
MIT License
2.74k stars 138 forks source link

Column order gets reversed in the parallel plot #247

Closed srijanthecynosure closed 2 years ago

srijanthecynosure commented 2 years ago

Hello, Firstly thanks for sharing this wonderful library. I always get an issue with column order reversed on the parallel plot. For me this started with the last update I guess. In HTML the columns come up correct in the beginning but gets reversed once I either adjust the plot height or I do a restore / maximize on the html browser window. I am able to fix this in HTML by just starting with a reverse order of columns initially but reversing the column does not work well when I use streamlit. Whether I reverse the column in the code or not, the actual column order displayed sometimes get reversed and sometimes it does not.

Not sure if anyone else is facing this issue or not but this happens to me both on my computer and streamlit server.

Thanks!

danthe3rd commented 2 years ago

Hi @srijandidwania and thanks for opening this issue!

Indeed I can reproduce, that's a strange bug. Let me have a look at it.

srijanthecynosure commented 2 years ago

Thanks @danthe3rd for quick response. Glad to hear that you were able to reproduce that.

danthe3rd commented 2 years ago

This should be fixed in version 0.1.33 that was just released. You can pip install --upgrade hiplot to update hiplot :)

srijanthecynosure commented 2 years ago

That sounds great. ThankYou!