GiovineItalia / Gadfly.jl

Crafty statistical graphics for Julia.
http://gadflyjl.org/stable/
Other
1.9k stars 250 forks source link

Gallery section on Gadfly website #531

Closed juliohm closed 8 years ago

juliohm commented 9 years ago

One of the most helpful resources for learning the features of a plotting library is a collection of examples. I learned Matplotlib very easily by copying/pasting snippets of code that I found in their gallery: http://matplotlib.org/gallery.html

It would be nice to have the same documentation on the Gadfly website.

aviks commented 9 years ago

This would be good. Examples and/or a PR most welcome.

juliohm commented 9 years ago

@aviks, how to contribute examples to the website?

dcjones commented 9 years ago

The website is generated from markdown files in the doc directory. I use a tool called Judo to process these files into html, which includes executing example code and including generated images. So to build a gallery, all we need is to put example code snippets in a markdown file and put that file it in the doc directory.

Also the gadfly website at http://gadflyjl.org/ separately hosted and is more up to date than what's in gh-pages. I should really just redirect the gh-pages version.

juliohm commented 9 years ago

@dcjones, so what is the desired approach? Suppose I have a snippet of code that does the plot, what do you want me to do?