[Qgis-user] Accessing iface from jupyter to create map from QGIS

Adam Nielsen a.nielsen at shikadi.net
Wed Dec 6 04:08:25 PST 2023


> While trying to activate with iface.setactivelayer I am facing an error.

The error is complaining that iface is None.  Your code doesn't show
what value you assigned to this variable - where did you set iface and
what value did you set it to?  I think you forgot to set it and that is
why you are getting this error.

Cheers,
Adam.


More information about the QGIS-User mailing list