Exemplo n.º 1
0
 def _repr_html_(self):
     quantities = list(self.data.values())
     return quantities.qtable(*quantities)
Exemplo n.º 2
0
 def _repr_html_(self):
     quantities = list(self.data.values())
     return quantities.qtable(*quantities)
Exemplo n.º 3
0
 def table(self, *quants, maxcols=5, latexonly=False):
     quants = [self[quant] for quant in quants]
     if latexonly:
         return quantities.qtable(*quants, html=False, maxcols=maxcols)[0]
     else:
         return render_latex(quantities.qtable(*quants, maxcols=maxcols))
Exemplo n.º 4
0
 def table(self, *quants, maxcols=5, latexonly=False):
     quants = [self[quant] for quant in quants]
     if latexonly:
         return quantities.qtable(*quants, html=False, maxcols=maxcols)[0]
     else:
         return render_latex(quantities.qtable(*quants, maxcols=maxcols))