On Mon, Nov 11, 2013 at 4:00 PM, yuan wang <[email protected]> wrote:

> I looked through the source code of matplotlib1Dviewer, but still could not
> figure out how to adjust it to work the magic. Then, I think I will just use
> matplotlib itself to do the plotting. Then, I encountered an error message,
> saying, "AttributeError: 'unOp' object has no attribute 'lower' ". I guess
> this 'unOp' object refers to the outcome of the pde solver (in my case, it's
> concentration values). The shape of the outcome values are the same as my x
> values (mesh grid locations). I don't understand why it could not be
> plotted.

Remember that mostly any array-like thing in FiPy can be cast to a
numpy array simply by putting numpy.array(X) around it.

-- 
Daniel Wheeler
_______________________________________________
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