EmbraceUncertainty icon indicating copy to clipboard operation
EmbraceUncertainty copied to clipboard

added appendix for algebra of graphics

Open ajinkya-k opened this issue 9 months ago • 6 comments

In this appendix, I recreate the faceted plot form the elston grizzle data and illustrate AlgebraOfGraphics concepts along the way.

fixes #85

ajinkya-k avatar Apr 01 '25 06:04 ajinkya-k

How can I preview the rendered website for a pull request? I saw such a thing in the Julia website repo: https://github.com/JuliaLang/www.julialang.org/pull/2275#issuecomment-2770767782

ajinkya-k avatar Apr 02 '25 04:04 ajinkya-k

you can preview it locally with quarto preview -- it will do a render, then start a local webserver and open a browser

palday avatar Apr 02 '25 05:04 palday

That’s what I have been doing so far but i thought the action based preview is kinda neat ‘cause other people can read and review without having to wait 10 mins for the quarto to render on their local. By the way I did find this action: https://github.com/marketplace/actions/deploy-pr-preview

I might give it a spin on my fork. It’s a nice excuse to learn how to use GitHub actions too!

ajinkya-k avatar Apr 02 '25 06:04 ajinkya-k

@palday I tested that GitHub action on my fork and got it to work after some finagling!

Preview here: https://ajinkya-k.github.io/EmbraceUncertainty/pr-preview/pr-2/algebraofgraphics.html

ajinkya-k avatar Apr 04 '25 13:04 ajinkya-k

Just saw this and wanted to point out something regarding this comment

TODO: How to explain why legend is disabled in the scales?

It's disabled in the scales if you want to disable only a specific scale, otherwise you can hide the whole legend using draw(...; legend = (; show = false)) https://aog.makie.org/v0.10.4/reference/draw#show

jkrumbiegel avatar May 05 '25 09:05 jkrumbiegel

Thanks!

ajinkya-k avatar May 05 '25 12:05 ajinkya-k