jupyter-xeus / xeus-r

Jupyter kernel for the R programming language
Other
42 stars 5 forks source link

Have a way to control graphics sizes and/or ratio #46

Closed romainfrancois closed 10 months ago

romainfrancois commented 10 months ago

For now this has to go through options(repr.plot.width=) + options(repr.plot.height = )

Perhaps it would be nicer to have quarto like comments on top of the cell, e.g.

#| plot.width = 
#| plot.height = 

ggplot(...) + ...
romainfrancois commented 10 months ago

As of #67, we can use cell_options(), i.e.

image

So I'll close this for now. Perhaps we can revisit later