I just tried this out, and

    using Gadfly, RDatasets
    diamonds = dataset("ggplot2", "diamonds")
    plot(diamonds, x="Carat", Geom.histogram)

works for me with Gadfly 0.3.4, Julia 0.3.0-rc1, and IJulia 0.1.12.

On Sunday, August 3, 2014 8:08:46 PM UTC-7, Dave Kleinschmidt wrote:
>
> Sorry, should have said up front: it's Gadfly 0.3.3, Julia 0.2.1, and 
> IJulia 1.12 (none of which have updates available).  I'll file an issue as 
> you suggest.
> Dave
>
> On Sunday, August 3, 2014 10:30:01 PM UTC-4, Leah Hanson wrote:
>>
>> What version of Gadfly are you using? (You can find out using 
>> `Pkg.status`.)
>> You could try running `Pkg.update` to see if you can get a newer version.
>>
>> If this isn't fixed by getting a newer version, then this is clearly a 
>> bug and you should file an issue on Github here: 
>> https://github.com/dcjones/Gadfly.jl/issues
>>
>> -- Leah
>>
>> On Sun, Aug 3, 2014 at 7:59 PM, Dave Kleinschmidt <dave.f.kl...@gmail.com
>> > wrote:
>>
>>> I know; it's the first plot in the NB (using Geom.histogram) that is the 
>>> problem, not the second (which I included to show that _some_ Gadfly plots 
>>> were produced as expected).  Apologies if that was unclear.
>>>
>>> Also, for what it's worth, this was using Julia 0.2.  Under 0.3-rc1 the 
>>> histograms work just fine.  But I'm still puzzled why it wasn't working 
>>> under 0.2...
>>>
>>> Dave
>>>
>>>
>>> On Sunday, August 3, 2014 8:45:23 PM UTC-4, j verzani wrote:
>>>>
>>>> Use `Geom.histogram` not `Geom.point`, as in your notebook.
>>>>
>>>> On Saturday, August 2, 2014 10:38:13 PM UTC-4, Dave Kleinschmidt wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> I'm a complete beginner with Julia, so perhaps I'm missing something 
>>>>> obvious, but I'm not able to produce histograms with Gadfly.  I thought 
>>>>> at 
>>>>> first I was using it wrong but even the example from the docs 
>>>>> <http://dcjones.github.io/Gadfly.jl/geom_histogram.html> doesn't work 
>>>>> for me.  Here's a notebook that shows what I get (same thing with writing 
>>>>> the plot to a PNG file): http://nbviewer.
>>>>> ipython.org/gist/kleinschmidt/46998cf74fd8f066485e 
>>>>> <http://www.google.com/url?q=http%3A%2F%2Fnbviewer.ipython.org%2Fgist%2Fkleinschmidt%2F46998cf74fd8f066485e&sa=D&sntz=1&usg=AFQjCNF9A5_MmTgGSKvLmXTJkXTc9zQZZA>
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Thanks,
>>>>> Dave
>>>>>
>>>>
>>

Reply via email to