autoload dataframes

This commit is contained in:
Thomas Breloff 2015-09-29 14:40:11 -04:00
parent 443df0501d
commit a027fdded7
3 changed files with 51 additions and 55 deletions

View File

@ -275,6 +275,9 @@ function buildReadme()
f = open(readme_fn, "w")
write(f, readme)
close(f)
gadfly()
Plots.dumpSupportGraphs()
end
# run it!

File diff suppressed because one or more lines are too long

View File

@ -190,6 +190,12 @@ Base.display(::Base.REPL.REPLDisplay, ::MIME"text/plain", plt::PlottingObject) =
function __init__()
global const CURRENT_BACKEND = pickDefaultBackend()
println("[Plots.jl] Default backend: ", CURRENT_BACKEND.sym)
# auto init dataframes if the import statement doesn't error out
try
@eval import DataFrames
dataframes()
end
end
# ---------------------------------------------------------