I’m trying to find a library that can help me to plot some cells as red boxes in a grid style. I.E if i had data showing a cell should be colored at (3,5) it would fill in a cell box at 3,5 and be listed as 3,5 when moused over or listed out.
I’ve tried numpy to do
data = np.zeroes((rows,columns))
and then insert a 1 at the row or column where I have a cell to be shaded.
When i plot this with imshow I get a box cenetered at the correct poin but mousing over it extends from the point to halfway to the next. Is there an easy way to color in a cell similar to how an excel cell would be colored if I was flling in say A:2
submitted by /u/Frankyboy07
[link] [comments]
r/learnpython I’m trying to find a library that can help me to plot some cells as red boxes in a grid style. I.E if i had data showing a cell should be colored at (3,5) it would fill in a cell box at 3,5 and be listed as 3,5 when moused over or listed out. I’ve tried numpy to do data = np.zeroes((rows,columns)) and then insert a 1 at the row or column where I have a cell to be shaded. When i plot this with imshow I get a box cenetered at the correct poin but mousing over it extends from the point to halfway to the next. Is there an easy way to color in a cell similar to how an excel cell would be colored if I was flling in say A:2 submitted by /u/Frankyboy07 [link] [comments]
I’m trying to find a library that can help me to plot some cells as red boxes in a grid style. I.E if i had data showing a cell should be colored at (3,5) it would fill in a cell box at 3,5 and be listed as 3,5 when moused over or listed out.
I’ve tried numpy to do
data = np.zeroes((rows,columns))
and then insert a 1 at the row or column where I have a cell to be shaded.
When i plot this with imshow I get a box cenetered at the correct poin but mousing over it extends from the point to halfway to the next. Is there an easy way to color in a cell similar to how an excel cell would be colored if I was flling in say A:2
submitted by /u/Frankyboy07
[link] [comments]