Imagine I have a 2D np array and I want to display it as a table, or as a grid of buttons.
each cell in the grid (matrix) refferes to different image list that I’d like to present at the bottom of the table. I’d like the user to visualize the relevant images, by clicking each cell.
I was thinking of an editable streamlit dataframe that shows the np array (numbers) and contain a checkbox. if one of the cell is checked the linked images be presented below.
build a grid of buttons (as the matrix size), if on_click=True for a specific button than relevan images be presented.
Love to hear about any others suggestions