Petr Bouchal
petrbouchal.xyz
Petr Bouchal
@petrbouchal.xyz
On governing, cities, social science, data & evidence, and (Central) Europe.
petrbouchal.xyz
It is, it just feels unnecessarily long and repetitive…
August 5, 2025 at 3:17 PM
Looks good! (I always wonder if I am the only one who could really use something like case_regex() / recode_regex())
August 5, 2025 at 11:55 AM
And if github.com/posit-dev/po... comes around the plots pane will be even better IMHO - you might want to upvote
Plots: Show new plots in auxiliary window · Issue #7054 · posit-dev/positron
Right now, it is possible to open any plot in a new window for a closer look via this menu: However, some users prefer to have a separate floating window showing the most recently generated plot, r...
github.com
July 8, 2025 at 9:13 PM
They can always ask her dairy manager
June 6, 2025 at 2:31 PM
This is great, thank you. Would it be worth also documenting how to make this work with fonts deployed alongside a Quarto site/brand and/or fonts self-hosted alongside a HTML file? I feel like for an SVG inside e.g. Quarto with custom theme one could end up loading the same font multiple times...
May 9, 2025 at 8:52 AM
A vectorised version for the black-white decision (extended for choosing between any two colours for each colour in a vector, such that it can be used in after_scale() is like so github.com/petrbouchal/...
ptrr/R/palettes.R at 5dc8c039ce07efe9254b6b5c5b5f6fcc35a5a2eb · petrbouchal/ptrr
A collection of personal utilities, themes and templates - petrbouchal/ptrr
github.com
April 24, 2025 at 6:00 PM
Reminder me of something I did once in ggplot2 - here is a gist with a sample of how it was done: gist.github.com/petrbouchal/... (I think I also failed to turn it into a proper custom geom but I suspect it can be done)
Quadrogram in ggplot2
Quadrogram in ggplot2. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
April 6, 2025 at 8:30 PM
📌
December 25, 2024 at 9:52 AM