Path: blob/main/src/resources/schema/document-figures.yml
12925 views
- name: fig-width1schema: number2description:3short: "Default width for figures generated by Matplotlib or R graphics"4long: |5Default width for figures generated by Matplotlib or R graphics.67Note that with the Jupyter engine, this option has no effect when8provided at the cell level; it can only be provided with9document or project metadata.1011- name: fig-height12schema: number13description:14short: "Default height for figures generated by Matplotlib or R graphics"15long: |16Default height for figures generated by Matplotlib or R graphics.1718Note that with the Jupyter engine, this option has no effect when19provided at the cell level; it can only be provided with20document or project metadata.2122- name: fig-format23schema:24enum: [retina, png, jpeg, svg, pdf]25description: "Default format for figures generated by Matplotlib or R graphics (`retina`, `png`, `jpeg`, `svg`, or `pdf`)"2627- name: fig-dpi28schema: number29description:30short: "Default DPI for figures generated by Matplotlib or R graphics"31long: |32Default DPI for figures generated by Matplotlib or R graphics.3334Note that with the Jupyter engine, this option has no effect when35provided at the cell level; it can only be provided with36document or project metadata.3738- name: fig-asp39tags:40engine: knitr41schema: number42description:43short: |44The aspect ratio of the plot, i.e., the ratio of height/width.45long: |46The aspect ratio of the plot, i.e., the ratio of height/width. When `fig-asp` is specified,47the height of a plot (the option `fig-height`) is calculated from `fig-width * fig-asp`.4849The `fig-asp` option is only available within the knitr engine.5051- name: fig-responsive52tags:53formats: [$html-all]54schema: boolean55default: true56description: Whether to make images in this document responsive.575859