Skip to content

Commit ffe013a

Browse files
zorroozclaude
andcommitted
docs: 拆分 Theme 和 Export 为独立小节
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 921dda3 commit ffe013a

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,17 @@ compose_*(p1, p2, ...) |> label_*() |> style() |> export()
163163
| `compose_inset()` | Floating inset overlay |
164164
| `compose_marginal()` | Scatter with marginal distributions |
165165

166-
### Theme & export
166+
### Theme
167167

168168
| Function | Description |
169169
|:---|:---|
170170
| `style()` | Apply a ggplot2 theme |
171171
| `style_default()` | Restore plotit's built-in theme |
172+
173+
### Export
174+
175+
| Function | Description |
176+
|:---|:---|
172177
| `export()` | Render to file (pdf, png, svg, …) |
173178

174179
### Custom extensions

README_ZH.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,17 @@ compose_*(p1, p2, ...) |> label_*() |> style() |> export()
160160
| `compose_inset()` | 浮动嵌入 |
161161
| `compose_marginal()` | 散点 + 边际分布 |
162162

163-
### 主题与导出
163+
### 主题
164164

165165
| 函数 | 说明 |
166166
|:---|:---|
167167
| `style()` | 应用 ggplot2 主题 |
168168
| `style_default()` | 恢复 plotit 内置主题 |
169+
170+
### 导出
171+
172+
| 函数 | 说明 |
173+
|:---|:---|
169174
| `export()` | 渲染为文件(pdf、png、svg 等) |
170175

171176
### 自定义扩展

0 commit comments

Comments
 (0)