File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -704,10 +704,12 @@ def _repr_html_(self) -> str:
704704 cont_min , cont_max = cont_idx .min (), cont_idx .max ()
705705
706706 html_parts .append ("<table>" )
707- html_parts .append ('<tr><th colspan="2" class="section-header">Continuous Dimension</th></tr>' )
707+ html_parts .append (
708+ '<tr><th colspan="2" class="section-header">Continuous Dimension</th></tr>'
709+ )
708710 html_parts .append (
709711 f'<tr><td><span class="dim-name">{ self ._continuous_name } </span></td>'
710- f' <td>size: { cont_size } , '
712+ f" <td>size: { cont_size } , "
711713 f'<span class="range">range: [{ cont_min :.4g} , { cont_max :.4g} ]</span></td></tr>'
712714 )
713715 html_parts .append ("</table>" )
@@ -734,15 +736,17 @@ def _repr_html_(self) -> str:
734736 else f'<span class="coord-name">{ info .coord_name } </span>'
735737 )
736738
737- label_names = list (info .label_indexes .keys ()) if info .label_indexes else []
739+ label_names = (
740+ list (info .label_indexes .keys ()) if info .label_indexes else []
741+ )
738742 labels_display = (
739743 f'<span class="label-list">{ ", " .join (label_names )} </span>'
740744 if label_names
741745 else "—"
742746 )
743747
744748 html_parts .append (
745- f' <tr>'
749+ f" <tr>"
746750 f'<td><span class="dim-name">{ dim_name } </span></td>'
747751 f"<td>{ coord_display } </td>"
748752 f'<td>{ int_size } / <span class="range">[{ int_min :.4g} , { int_max :.4g} )</span> '
Original file line number Diff line number Diff line change @@ -484,12 +484,12 @@ def _repr_html_(self) -> str:
484484 val_max = ndc .values .max ()
485485
486486 html_parts .append (
487- f' <tr>'
487+ f" <tr>"
488488 f'<td><span class="coord-name">{ name } </span></td>'
489489 f'<td><span class="dims">({ dims_str } )</span></td>'
490490 f'<td><span class="shape">({ shape_str } )</span></td>'
491491 f'<td><span class="range">[{ val_min :.4g} , { val_max :.4g} ]</span></td>'
492- f' </tr>'
492+ f" </tr>"
493493 )
494494
495495 html_parts .append ("</table>" )
You can’t perform that action at this time.
0 commit comments