muschellij2 / papayaWidget

Widget for papaya!
6 stars 7 forks source link

interpolation=FALSE does not carry over to html file #8

Open discoraj opened 4 years ago

discoraj commented 4 years ago

Hi, I am using rmarkdown in rstudio to output an html file. The viewer in rstudio applies the interpolation=FALSE option. However, when loaded into a browser, the smoothing gets turned back on. I added to the main.js file this line (after line 110): papaya.Container.interpolation = false; and that turns it off in the browser and the rstudio viewer. But the interpolation=TRUE does nothing in rmarkdown either.

thanks, Justin

muschellij2 commented 4 years ago

If you have a question, please provide a MCVE: https://stackoverflow.com/help/mcve. In any example, I recommend using a reproducible example using the reprex package (https://github.com/tidyverse/reprex). Also, please include a sessioninfo::session_info() output.