Skip to content

Commit

Permalink
use Gadfly.inch to fix #94
Browse files Browse the repository at this point in the history
  • Loading branch information
shashi committed Sep 24, 2015
1 parent 1272c82 commit d2b5c57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/plotting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ main(window) = begin
βᵗ = Input(1.0)

vbox(md"## Static Plot",
drawing(4inch, 2inch, plot(sin, 0, 25)),
drawing(4Gadfly.inch, 2Gadfly.inch, plot(sin, 0, 25)),
md"## Dynamic plot",
hbox("Alpha: " |>
width(4em), slider(1:100) >>> αᵗ) |>
Expand All @@ -22,7 +22,7 @@ main(window) = begin
width(4em), slider(1:100) >>> βᵗ) |>
packacross(center),
lift(αᵗ, βᵗ) do α, β
plot_beta(α,β) |> drawing(4inch, 3inch)
plot_beta(α,β) |> drawing(4Gadfly.inch, 3Gadfly.inch)
end
) |> pad(2em)
end

0 comments on commit d2b5c57

Please sign in to comment.