from sigmaepsilon.mesh.plotting import pvplot
from sigmaepsilon.mesh.downloads import download_gt40
import matplotlib.pyplot as plt
mesh = download_gt40(read=True)
img=pvplot(mesh, notebook=False, return_img=True)
plt.imshow(img)
plt.axis('off')