allow ranges to be specified as sequences

This is for #591 

Can do:
```
figure(x_range=[10, 20])
```
But still does not allow 
```
curplot().x_range = [10, 20]
```
blank space after comma: `xrange=[0, 100]`