How to use the texttable.process_src function in texttable

To help you get started, we’ve selected a few texttable examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github CDAT / vcs / build / lib / vcs / utils.py View on Github external
elif typ == "L":
      dic = {}
      sp = code.split(",")
      for i in range(0,len(sp),2):
        dic[eval(sp[i])]=eval(sp[i+1])
      vcs.elements["list"][nm]=dic
    elif typ == "Gtd":
      taylor.process_src(nm,code)
    elif typ=="Proj":
      projection.process_src(nm,code)
    elif typ=="Tf":
      fillarea.process_src(nm,code)
    elif typ=="P":
      template.process_src(nm,code)
    elif typ=="Tt":
      texttable.process_src(nm,code)
    elif typ=="To":
      textorientation.process_src(nm,code)
    elif typ=="Tl":
      line.process_src(nm,code)
    elif typ in ["GXy","GYx","GXY","GSp"]:
      unified1D.process_src(nm,code,typ)
    elif typ=="Gv":
      vector.process_src(nm,code)
    elif typ=="Tm":
      marker.process_src(nm,code)
    elif typ=="C":
      colormap.process_src(nm,code)