Skip to content

Instantly share code, notes, and snippets.

@jasongilman
Created September 9, 2012 14:52
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jasongilman/3684830 to your computer and use it in GitHub Desktop.
incanter from jruby
(ns clojure_helpers.incanter_helper
(:use (incanter core stats charts)))
(defn view-histogram [values]
(view (histogram values)))
ages = User.all.map(&:age)
clj.view_histogram(Zweikopf::Transformer.from_ruby(ages))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment