from em_examples import sphereElectrostatic_example as electrostatic_sphere

sig0 = 10.**-3.         # conductivity of the whole-space in S/m
sig1 = 10.**-1.         # conductivity of the sphere in S/m
R    = 50.          # radius of the sphere in m
E0   = 1.           # inducing field strength in V/m
n = 50             #level of discretization
xr = np.linspace(-2.*R, 2.*R, n) # X-axis discretization
yr = xr.copy()      # Y-axis discretization
zr = np.r_[0]          # identical to saying `zr = np.array([0])`
XYZ = electrostatic_sphere.ndgrid(xr,yr,zr) # Space Definition
colorsphere=[0.1,0.1,0.6]

fig, ax = plt.subplots(1,1, figsize = (6,6))
ax = electrostatic_sphere.get_Setup(XYZ,sig0,sig1,R,E0,ax,False,colorsphere)

plt.show()