Exporting PNG files from Plotly in R

前端 未结 4 1048
自闭症患者
自闭症患者 2020-12-06 05:17

How can I export a Plotly chart as a image from R using code? (Not using the export button on the chart).

For example, this code from the Plotly site, create this ch

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-06 05:46

    Since I am new, I'm unable to comment so I am posting this as a response. The export function is deprecated as of plotly v4.9.0. Instead, the orca function is the suggested method to export plotly objects as static images. Learn more here: orca function R documentation

提交回复
热议问题