← Back to team overview

dolfin team mailing list archive

Re: Plotting works for elasticity demo

 

On Thu, Apr 26, 2007 at 10:14:49AM +0200, Ola Skavhaug wrote:
> Garth N. Wells skrev den 26/04-2007 følgende:
> > I get the error
> > 
> > Reading function from elasticity.xml.
> > Reading vector from file elasticity.xml.
> > Reading mesh from file elasticity.xml.
> > Traceback (most recent call last):
> >    File "plot.py", line 4, in ?
> >      plot(u, mode="displacement")
> > TypeError: plot() got an unexpected keyword argument 'mode'
> > 
> > when trying to plot.
> > 
> > Garth
> 
> Sure, you'll need to pull and install the newest version of viper.
> Anders had a similar problem (after pulling) yesterday, but we couldn't 
> figure out the error.
> 
> Ola

The latest changeset should be there now, so a pull + update + install
of viper should solve it. (mode="displacement" was not supported
before)

/Anders


Follow ups

References