Hello Yun,

The only reason is that I adapted that example script from one which had more 
than one cell variable I wanted to plot. Your right for this simple case it 
doesn't need to be a tuple.

Best regards,

Dan

On 24 Apr 2012, at 09:53, Yun Tao <[email protected]> wrote:

> Hi Dan,
> 
> I was looking through your codes and was confused about this line:
> 
> 
> viewer = Viewer( vars = (n,) )
> 
> 
> 
> Is there a reason for the comma after n? I typically just set vars = (var1, 
> var2...). 
> 
> 
> Thanks,
> 
> 
> Yun
> 
> 
> 
> On Mon, Apr 2, 2012 at 6:53 PM, Daniel Farrell <[email protected]> wrote:
> Dear list,
> 
> Thank you for your help, it works!
> 
> An updated script is here for people following this thread in the future,
> https://gist.github.com/2280822
> 
> Best regards,
> 
> Dan
> _______________________________________________
> fipy mailing list
> [email protected]
> http://www.ctcms.nist.gov/fipy
>  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
> 
> 
> 
> -- 
> Graduate Group of Ecology Doctoral Candidate
> Department of Environmental Science and Policy
> Center for Population Biology
> University of California, Davis
> 
> 
> _______________________________________________
> fipy mailing list
> [email protected]
> http://www.ctcms.nist.gov/fipy
>  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to