Open dongzhiming opened 2 years ago
As you can see by running the following code, Coord.cartesian(ymin=1.5, ymax=2.6) does not work.
Coord.cartesian(ymin=1.5, ymax=2.6)
using Gadfly, DataFrames df = DataFrame(:AAA=>[2.2, 1.8, 2.0, 2.3, 1.8, 1.9], :BBB=>[1, 2, 3, 1, 2, 3], :CCC=>["#", "#", "#", "&", "&", "&"]) p = Gadfly.plot(df, x=:CCC, y=:AAA, xgroup=:BBB, color=:CCC, Geom.subplot_grid(Geom.bar(position=:dodge), Coord.cartesian(ymin=1.5, ymax=2.6)), Gadfly.Theme(alphas=[1.0], discrete_highlight_color=identity))
i can confirm that ymin is ignored, but curiously ymax works, and both work for Geom.bar without Geom.subplot_grid.
ymin
ymax
Geom.bar
Geom.subplot_grid
See also #730
As you can see by running the following code,
Coord.cartesian(ymin=1.5, ymax=2.6)
does not work.