HTML UTILITY FUNCTIONS

Helper functions for creating HTML plots (created on November 16th 2021 by M. Reichmann)

source

tag

 tag (name, txt, *opts_)

source

sup

 sup (txt)

source

nth

 nth (d)

source

irr2str

 irr2str (val, unit=False)

source

conv_time

 conv_time (time_str, to_string=True)

source

div

 div (txt, *opts_)

source

a

 a (txt, *opts_)

source

small

 small (txt, *opts_)

source

big

 big (txt)

source

image

 image (filename, h=None, w=None)

source

icon

 icon (filename)

source

fig_icon

 fig_icon (symbol=9736)

source

empty_line

 empty_line (n=1)

source

make_root_html

 make_root_html ()

source

create_tree

 create_tree (p:pathlib.Path)

source

create_root_overview

 create_root_overview (p:pathlib.Path, x=3, y=2, verbose=None)

source

style

 style (center=False, right=False, left=False, colour=None, vcenter=False,
        fontsize=None, smaller=False, transform=None, nowrap=None)

source

style_

 style_ (*opts_)

source

path

 path (*dirs)

source

prep_opts

 prep_opts (*opts_)

source

heading

 heading (txt, size=1, *opts_)

source

script

 script (src, *opts_)

source

opts

 opts (rs=None, cs=None, src=None, h=None, w=None, active=None,
       new_tab=None)

source

sopts

 sopts (rs=None, cs=None, src=None)

source

make_opt

 make_opt (name, value)

source

table

 table (title, header, rows, *row_opts)

source

File

 File (filename=None, ind_width=2, verbose=True)

Initialize self. See help(type(self)) for accurate signature.


source

create_root

 create_root (file_path:pathlib.Path, title='', draw_opt='colz', pal=55,
              verbose=None)