Skip to content

Commit

Permalink
set_theme -> push_theme
Browse files Browse the repository at this point in the history
shit.
  • Loading branch information
shashi committed Oct 7, 2016
1 parent cb28d6a commit e18352d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Gadfly.jl
Expand Up @@ -33,9 +33,10 @@ function __init__()
if haskey(ENV, "GADFLY_THEME")
theme = ENV["GADFLY_THEME"]
try
set_theme(Symbol(theme))
push_theme(Symbol(strip(theme)))
catch err
warn("Error loading Gadfly theme $theme (set by GADFLY_THEME env variable)")
show(err)
end
end
end
Expand Down

0 comments on commit e18352d

Please sign in to comment.