change figure size

Hi guys,

I know how to set plot_width for a figure, that is, just give a number for that parameter. that is easy. If I like to make figure display full size on screen, what is the way to do this? I currently can get screen resolution in javascript, after this, how could I can modify the plot_width parameter dynamically. Hopefully, the following screenshot could help me explain myself on this problem. Thanks.

2018-09-28_10-04-00.png