Skip to content

Commit

Permalink
Simplify hvband test
Browse files Browse the repository at this point in the history
  • Loading branch information
CiaranOMara committed Nov 24, 2019
1 parent 36f217f commit 76a5cf8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/testscripts/hvband.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using Gadfly
set_default_plot_size(21cm, 8cm)

p1 = plot(x=1:9, y=1:9, Geom.blank,
layer(xmin=[1.0, 5.0, 7.0], xmax=[2.0, 6.5, 8.0] , Geom.vband, Theme(default_color="green")));
p1 = plot(xmin=[1.0, 5.0, 7.0], xmax=[2.0, 6.5, 8.0] , Geom.vband, Theme(default_color="green"));

p2 = plot(x=1:9, y=1:9, Geom.blank,
layer(ymin=[2.5], ymax=[7.5], Geom.hband, Theme(default_color="red")));
p2 = plot(ymin=[2.5], ymax=[7.5], Geom.hband, Theme(default_color="red"));

hstack(p1, p2)

0 comments on commit 76a5cf8

Please sign in to comment.