NameError: name 'interactive' is not defined

7 months ago by
I am running Spyder 3.2.6 & Fenics 2017.2.0.

Spyder is running through an anaconda environment, which has been build using the following commands:

conda create -n fenicsproject -c conda-forge fenics
source activate fenicsproject

I am trying to fun the first tutorial on the fenics website. A link is given below:

When I try and execute this file, i get the following error: "NameError: name 'interactive' is not defined"

Could anyone explain what I am missing / have done wrong?

Community: FEniCS Project

1 Answer

7 months ago by
Plotting has changed in 2017.2.0 and the tutorial hasn't yet been updated.

New style plotting is shown in the main DOLFIN demos, e.g. last lines of:

import matplotlib.pyplot as plt
Perfect - Thank you Jack
written 7 months ago by Ryan Murphy  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »