I am trying to use a numpy matrix as a global variable. However, when I reference the function below in other scripts I only get "global_gABD = []" and "gABD = matrix([[1,6,6]])" in my variable table (see attached picture). My gABD is not saved as global variable.
def gABD():
   global gABD
   import numpy as np
   gABD = np.matrix((1,6,6))
gABD()
Is there a way to do this or can numpy.matrix not be used globally?

 
     
    