Skip to content
Prev 3861 / 15075 Next

Tiny range bug

Hi,

I have a small function defined as such since I like to open windows  
by specifying sizes in pixels rather than inches:

quartz2 = function (w = 360, h = 360) {
	px2in = 5/360 # pixels to inches
	quartz(width = w * px2in, height = h * px2in)
}

This works fine. I accidentally typed this at one point:

 > quartz(h=120, w=600)

and got this error:
I'm guessing it's not happy to create a window that 600 inches wide.  
Probably not something that anyone's likely to come across, but I  
thought I'd send in a report.

Cheers,

Demitri