Code: Select all
table {border-style: solid; border-color: DodgerBlue;}
.cp {background-color:DarkGreen; border-collapse:collapse;text-align:center;}
.cf {background-color:DarkRed; border-collapse:collapse;text-align:center;}
Automaton 1 Evaluation
State Seen At Step
Trace #12345
013333
110110
210100
312012
412122
< /code>
und Ich zeigen es in der Zelle mit: < /p>
anfrom IPython.display import HTML, display
tbl1 = auto1.traceListHTML(auto1.traceLog,title=f'Automaton 1 Evaluation')
tbl2 = auto2.traceListHTML(auto2.traceLog,title=f'Automaton 2 Evaluation')
box_layout = Layout(display='flex',
flex_flow='row',
justify_content='space-around',
width='450px'
)
#display(HTML(tbl1))
hbox1 = widgets.Box(children=[widgets.HTML(tbl1),widgets.HTML(tbl2)], layout=box_layout)
display(hbox1)
Code: Select all
.cf {background-color:DarkRed; border-collapse:collapse;text-align:center; border-style: solid}
Ich frage mich, ob dies ein Problem sein mag.>
Mobile version