holtzy / R-graph-gallery

A website that displays hundreds of R charts with their code
https://www.r-graph-gallery.com
MIT License
671 stars 231 forks source link

Section "Base R graph parameters": Sort bullet point list corresponding to image #240

Closed yvonnefroehlich closed 1 month ago

yvonnefroehlich commented 1 month ago

In the section Base R graph parameters: a cheatsheet, I feel having the same order of the bullet points of the list on the left as in the image on the right, makes it much easier to find the single chart features in both the image and the list.

unsorted list (main branch) sorted list (this branch / PR) image
6_chart_features_list 6_chart_features_list_sorted 6_chart_features_image
JosephBARBIERDARNAL commented 1 month ago

It makes sense! Thanks for this (: @holtzy you can merge

JosephBARBIERDARNAL commented 1 month ago

@yvonnefroehlich can you render it? so that it updates the html output file

yvonnefroehlich commented 1 month ago

@yvonnefroehlich can you render it? so that it updates the html output file

Thanks for looking at this PR and the positive feedback!

So far, I do not know how to do this. I looked at the guidelines at https://github.com/holtzy/R-graph-gallery/wiki/How-to-contribute-to-the-gallery, but could not find something relevant.

JosephBARBIERDARNAL commented 1 month ago

I think you need to clone the repo locally to render it. If you've never done it, you can find a tuto here on the main steps when collaborating (fork, clone, commits etc).

Alternatively, I can do the rendering myself once merged if you prefer.

yvonnefroehlich commented 1 month ago

I think you need to clone the repo locally to render it. If you've never done it, you can find a tuto here on the main steps when collaborating (fork, clone, commits etc).

Alternatively, I can do the rendering myself once merged if you prefer.

Thanks for pointing out these resources. In principle, I am familiar with the general GitHub workflow. The issue I am facing, is that there are a lot of not committed changes on the master branch directly after cloning my fork to my local machine. Interestingly, this issue occurs only under Windows but not under Linux.