← Back to team overview

dolfin team mailing list archive

plot.py

 

What's the purpose of dolfin_plot? It just calls viper_plot for all
types, except when the object is unknown, in which case it tries
 to project something, without knowing what it is. This should be put
into viper instead of in this almost empty wrapper. What is the type
of object if project can handle it?

The case viper is not available, I guess you need some logic anyway.
Plot muting when an environment variable is set could be placed in
viper, but that would only be a duplicate of what you need anyway, so
I suggest you keep that (or a better version of the IgnorePlot).

-- 
Ola Skavhaug


Follow ups