paddymul / buckaroo

Buckaroo - the data wrangling assistant for pandas. Quickly explore dataframes, and run pandas commands via a GUI. Works inside the jupyter notebook.
https://paddymul.github.io/buckaroo/
BSD 3-Clause "New" or "Revised" License
227 stars 9 forks source link

Histograms display without fills intermittently #292

Closed paddymul closed 1 week ago

paddymul commented 1 month ago

Checks

What type of jupyter notebook were you using (VSCode notebook, google colab, Jupyter Lab, Jupyter notebook). Select multiple if you can reproduce this in multiple environments. If other, please add to description.

Jupyter Lab

Reproducible example

On example-notebooks/Full-tour.ipynb The second dataframe initially has filled columns for unique and NA. the third dataframe doesn't

Screenshot 2024-10-11 at 10 47 53 AM

On initial add of the third dataframe, the fill is empty

Screenshot 2024-10-11 at 10 49 36 AM

Then when scrolling up to the first dataframe, you can see the fill, but scrolling left to right, the fills aren't re-rendered.

Issue description

I think this is related to an interaction between re-charts and ag-grid. Possibly some ID's embedded into the SVG rendering

Expected behavior

histogram bars should always be rendered

Installed versions

``` Run on 0.7.4 ```

Jupyter Log output

No response

paddymul commented 1 week ago

Extensive deep dives https://github.com/recharts/recharts/issues/5230 and https://github.com/jupyterlab/jupyterlab/issues/16952

unique ID fix coming soon