Kamil Slowikowski

Results 225 comments of Kamil Slowikowski

Reading Paul Murrell's reports on his home page has helped me to understand what is going on with grid: https://www.stat.auckland.ac.nz/~paul/ For example, this one highlights the difficulty of drawing lines...

I might need to revisit pull request #38 by @zachcp

@stanstrup That sounds like an interesting example. Could I please ask if you might be willing to create a new issue that demonstrates what you are doing and how you...

@aphalo Thank you for the detailed issue!!! It's a pleasure to see an issue with multiple code examples that help to illustrate the problem. It is very illuminating to look...

@glorious1 Sorry, but I don't understand your question. You might consider sharing code or an image.

> if I run the exact some code twice it can change direction `set.seed()` is the tool you're looking for when you want to get the same random result over...

Luckily, I left a useful comment in the docs that might answer your question about text justification: https://github.com/slowkow/ggrepel/blob/f5513ae0707301e41d9486d7fd1b09be95facd72/R/geom-text-repel.R#L23-L27 In other words, we can't have our cake and eat it, too....

I think you might want to try `nudge_x` and `nudge_y` instead of `hjust` and `vjust`. The nudging parameters give you some control to change the *initial starting position* of each...

The reprex below shows that the behavior for `ggplot2::geom_text()` with negative values for `hjust` looks pretty similar to the behavior for `ggrepel::geom_text_repel()`... I'm not sure what to think of this....

OK, I think I get it. We can disable the physical repulsion simulation with `max.iter=0`, instructing the function to run 0 iterations of the repulsion simulation. This should show us...