<commit_before>package net.liftmodules.jqplot

import net.liftweb.common._
import net.liftweb.http.S

trait PlotSnippet {

    val w  = S.attr("w").map(a => a.toInt ).openOr(512)
    val h  = S.attr("h").map(a => a.toInt ).openOr(512)
    
    val options:Box[Options] = Empty
    
    val series:Array[List[List[Any]]]
    
    def render = new JqPlot(w,h,options,series: _*).toCssTransformer      
      
    
}<commit_msg>it would appear we are using these. I was working with a cached jar.<commit_after>package net.liftmodules.jqplot

import net.liftweb.common._
import net.liftweb.http.S

trait PlotSnippet {
  
	implicit def pair2ListAny(p:List[(Any,Any)]):  List[List[Any]] = p.map{x => List(x._1,x._2)}
	implicit def pair2ListAny(p:(Any,Any)):List[Any] = List(p._1,p._2)
	implicit def series2Array(s:Series): Array[Series] = Array(s)
	implicit def series2Array(o:Options): Box[Options] = Box !! o  

    val w  = S.attr("w").map(a => a.toInt ).openOr(512)
    val h  = S.attr("h").map(a => a.toInt ).openOr(512)
    
    val options:Box[Options] = Empty
    
    val series:Array[List[List[Any]]]
    
    def render = new JqPlot(w,h,options,series: _*).toCssTransformer      
      
    
}
{'fraction_non_alphanumeric': 0.15442404006677796, 'fraction_numerical': 0.01669449081803005, 'mean_word_length': 3.3129496402877696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3104883', 'n_tokens_mistral': 474, 'n_tokens_neox': 451, 'n_words': 90}