What does this mean: Plot(...)

when I type

p3 = Gadfly.plot(first(sort!(df1, [:count], rev=true), 50),
    x = :word, y = :count,
    Geom.bar
)

it plots a bar plot with vertical bars

When I type

p3 = Gadfly.plot(first(sort!(df1, [:count], rev=true), 50),
    x = :word, y = :count,
    Geom.bar(orientation=:horizontal)
)

it just returns Plot(…)

What does this mean and why won’t the plot render?

It means you’ve encountered a bug in the Gadfly code. You can see the error by doing e.g.:

draw(SVG(6inch,3inch), p3)

Please open an issue on Gadfly’s github page.

Actually this is similar to:

So maybe you don’t need to open an issue.

OK that explains it. I needed to swap x, y assignment. Thanks for the help!