ABSTRACT

Numerous layout components of a plotly graph can be directly manipulated, including annotation text and placement (more on this in Section 17.2.3). In addition, the download (aka, toImage) button can be customized to export a static version to different file types including: SVG, PNG, JPG, and WebP. Since SVG can be easily converted to PDF, this effectively means we can edit a graph in a browser to perform touch-ups, then export to a high-quality PDF. At least currently, this workflow is recommended over first exporting to PDF (via orca()) then using Adobe Illustrator to manipulate the vectors, especially for adjusting the placement of annotations.