Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make plots in examples update interactively #59

Closed
mkborregaard opened this issue Oct 13, 2017 · 3 comments
Closed

Make plots in examples update interactively #59

mkborregaard opened this issue Oct 13, 2017 · 3 comments

Comments

@mkborregaard
Copy link
Member

mkborregaard commented Oct 13, 2017

As discussed on Gitter:

if you browse through https://evizero.github.io/Augmentor.jl/ and see figures just take a look the the "Edit on Github" to see how I do it.
all but the "Tutorials" are pretty much vanilla Documenter. The tutorials though are all custom stuff, generated markdown pages by "examples/*.jl" scripts. so unless you want to mess with Weave just ignore those
Christof Stocker
@Evizero
00:30
I actually use Plots to produce the image + gif on this page https://evizero.github.io/Augmentor.jl/gettingstarted/ . forgot about that
Michael Krabbe Borregaard
@mkborregaard
08:33
So you just include an @eval block that creates the image? Sweet.
Christof Stocker
@Evizero
11:00
pretty much yea, and then you include that image in the markdown as usual
you can also use an @example block for this and just end the lines that save the figure with # hide

@SaschaMann
Copy link
Contributor

From #80:

Alternatively we could add all of the figures in our docs to our test examples, and link to those in PlotReferenceImages from here. If we just had a "latest" folder there. In fact, that may be the simplest solution overall.

@daschw
Copy link
Member

daschw commented Aug 28, 2019

Images are now generated during PlotDocs build. #145 ...

@daschw daschw closed this as completed Aug 28, 2019
@mkborregaard
Copy link
Member Author

Skærmbillede 2019-09-01 kl  09 00 27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants