Importing the function single_snp from Microsoft's program "FaSTLMM" prevents python2.7 from displaying matplotlib plots. The plot is correctly displayed when omitting the import. How does importing this function interfere with the plotting of pyplot? (I need single_snp to perform a calculation which is used in the plot I really want to display.)
from fastlmm.association import single_snp
import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.show()
The source code for single_snp can be found here: https://github.com/MicrosoftGenomics/FaST-LMM/blob/master/fastlmm/association/single_snp.py
I tried different backends (see Why doesn't pyplot.show() work?), but to no avail.