Repository navigation
cleanup after standard - remove redundant exports and vignettes - #26
tkranenburgrivm wants to merge 5 commits into
Conversation
hypebright
left a comment
There was a problem hiding this comment.
See rivm-syso/ROvis.echarts#14 (comment) for an overview
|
@tkranenburgrivm Heads-up: the release flow PR (#27) fixes lint and formatting issues in some of the files this PR touches ( |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t exported - ro_ply_theme(fig, ...) styles the figure directly, like the other *_theme() functions; ro_ply_add_theme() is removed - Mark the functions wired into ro_ply_standard() as @Keywords internal and fix blank lines that detached three roxygen blocks - Keep ro_ply_focus_linechart() exported (used by ROvis.shiny) - Vignette: explain ro_ply_standard() vs ro_ply_theme(), add a styling-only example, drop the theme_rivm list it relied on - README example uses ro_ply_standard(); NEWS entry for the breaking changes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
368e830 to
f38fd91
Compare
|
@tkranenburgrivm I've taken this over, same as echarts #14: merged What changed, per the overview on ROvis.echarts#14:
Reprex: pak::pak("rivm-syso/ROvis.plotly@feat/cleanup_after_standard")
library(ROvis.plotly)
library(plotly)
fig <- plot_ly(
data.frame(sex = c("Man", "Vrouw"), n = c(1234, 1675)),
x = ~sex, y = ~n, type = "bar"
)
ro_ply_standard(fig, type = "bargraph", title = "Aantal cases per geslacht")
ro_ply_theme(fig)What to check:
|
Matches echarts-in-ro-style and ggplot2-in-ro-style; title "plotly in RO style". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No description provided.