TidierPlots.jl provides:
+
)Makie.SpecApi
grid = ggplot(df) + theme .+
[geom_histogram(aes(x = :x),
color = (:orangered, 0.5),
strokewidth = 0.5) +
lims(x = c(-4, 4)),
blank,
geom_histogram(aes(:y),
color = (:dodgerblue, 0.5),
direction = :x,
strokewidth = 0.5) +
lims(y = c(-3, 3)),
geom_point(aes(:x, :y), size = 10) +
lims(x = c(-4, 4), y = c(-3, 3)) +
labs(x = "x", y = "y")]
+(grid...)
[ ] Fix aes
operations
[ ] scale_fill
and scale_alpha
[ ] facet_grid
[ ] More comprehensive documentation and tutorials
ggplot
allows calculated columns to be created within an aes
callNew syntax options:
“DataFrames-style”
“TidierData-style”
In the background, these both resolve to the same Aes
struct.
[x] Fix aes
operations
[ ] scale_fill
and scale_alpha
[ ] facet_grid
[x] Fix aes
operations
[x] scale_fill
and scale_alpha
[ ] facet_grid
[x] Fix aes
operations
[x] scale_fill
and scale_alpha
[x] facet_grid
geom_raincloud = geom_template(
"geom_raincloud",
["x", "y"],
:RainClouds)
ggplot(penguins) +
geom_raincloud(
aes(x = :species,
y = :bill_depth_mm,
color = :species),
size = 4) +
scale_y_continuous(
labels = "{:.1f} cm") +
labs(title = "Bill Depth by Species",
x = "Species",
y = "Bill Depth") +
theme_minimal()