Bold in table
For the following code
list_collab = ["A_0", "I_0", "E_0", "A_1", "I_1", "E_1"]
collab = set(list_collab)
show(list_collab)
subcollab = Subsets(collab,3,submultiset=True)
show(list(subcollab))
affinites= [[ZZ.random_element(1,5) for i in range(0,5)] for j in range(0,4)]
#show(list_collab)
list_collab1 = ['']+list_collab[0:]
list_collab2 = [r'<b style="color:black">$'+x+r'$</b>' for x in list_collab1]
table_aff =table(affinites, header_row=list_collab, header_column=list_collab2)
show(table_aff)
No strong problem with the table if I can have indexed values in header rows.
And your question is ?
Yes a question would be nice, but if you run this little program you will see there is a un the first cell.
First, it would help if you provided a minimal example that demonstrated the problem. For example, remove all lines involving the variable
collab
from this altogether.Second, it looks a lot better if I change
list_collab2
to... for x in list_collab
rather thanfor x in list_collab1
:list_collab1
has an empty first entry.Finally, is the
*
at the end intentional?