code: def displayplot(data, plinds, plottype, scaling, fileroot, url_path='http://www.aoc.nrao.edu/~claw/plots'):
      
  
      plotdict = {'dmt': plotdmt, 'norm': plotnorm,
                 'loc': plotloc, 'stat': plotstat,
                 'all': plotall}
      sizedict = {'dmt': [900,500], 'norm': [700, 700], 'loc': [700,700],
                  'stat': [700,700]}
  
      sortinds = sorted(set(plinds['cir'] + plinds['cro'] + plinds['edg']))
      sizesrc, plaw = scaling.split('_')
      data['sizes'] = calcsize(data[sizesrc], inds=sortinds, plaw=int(plaw))
  
      if plottype != 'all':
          wid, hei = sizedict[plottype]
          pl = plotdict[plottype](data, circleinds=plinds['cir'], crossinds=plinds['cro'],
                                  edgeinds=plinds['edg'], url_path=url_path,
                                  fileroot=fileroot, plot_width=wid, plot_height=hei)
      else:
          pl = plotall(data, circleinds=plinds['cir'], crossinds=plinds['cro'],
                                   edgeinds=plinds['edg'], url_path=url_path,
                                   fileroot=fileroot)
      hdl = show(pl)
docs: Generate interactive plot