docs: def make_figs(dcfg,dp='figs',force=False):
      """
      'figi','plotp'
      """
      doutp=abspath(dp)
      if isinstance(dcfg,str):
          dcfg=pd.read_table(dcfg,
                             error_bad_lines=False,
                            comment='#',)        
  #     .dropna(subset=['figi','fign','plotn','plotp'])
      dcfg=configure(dcfg,doutp,force=force)
      templatep=f"{doutp}/masonry/index.html"
      if not exists(dirname(templatep)):
          runbashcmd(f"cd {doutp};git clone https://github.com/rraadd88/masonry.git")
      else:
          try:
              runbashcmd(f"cd {dirname(templatep)};git pull")    
          except:
              logging.error('can not pull in masonry.git')
      from rohan.dandage.io_files import fill_form   
      for figi in dcfg['figi'].unique():
  #         if len(dcfg.loc[(dcfg['ploti']==figi),:])>0:
          htmlp=dcfg.loc[(dcfg['figi']==figi),'fightmlp'].unique()[0]
          print(basename(htmlp))
          if not exists(htmlp) or force:
              fill_form(dcfg.loc[(dcfg['figi']==figi),:],
                 templatep=templatep,
                 template_insert_line='<div class="grid__item grid__item--width{plot width scale} grid__item--height{plot height scale}">\n  <fig class="plot"><img src="{plotsvgp}"/><ploti>{ploti}</ploti></fig></div>',
                 outp=htmlp,
                 splitini='<div class="grid__gutter-sizer"></div>',
                 splitend='</div><!-- class="grid are-images-unloaded" -->',
                 field2replace={'<link rel="stylesheet" href="css/style.css">':'<link rel="stylesheet" href="masonry/css/style.css">',
                               '<script  src="js/index.js"></script>':'<script  src="masonry/js/index.js"></script>',
                               f'{doutp}/':''})
              # make pdf
              runbashcmd(f'google-chrome --headless --disable-gpu --virtual-time-budget=10000 --print-to-pdf={htmlp}.pdf {htmlp}')
              print(htmlp)
              
      from rohan.dandage.figs.convert import vectors2rasters
      vectors2rasters(doutp,ext='pdf')