pyahmed / PyCORN

A script to extract data from ÄKTA/UNICORN result-files (.res)
47 stars 26 forks source link

problem with plotting (matplotlib) #17

Open staalhandsken opened 6 years ago

staalhandsken commented 6 years ago

Hi Great script! everything works except for plotting. I dont know if it a script or pyhton error but i cannot import matplotlib.pyplot . Matplotlib imports fine

Did you ever have this issue ?

Thx

pyahmed commented 6 years ago

Hi thanks - are you using Windows?

staalhandsken commented 6 years ago

Oh yes. Im using windows 10 with python 3.5

pyahmed commented 6 years ago

Does the minimal example below work for you?

import matplotlib.pyplot as plt
plt.plot([1, 2, 3, 4])
plt.ylabel('some numbers')
plt.show()

source: https://matplotlib.org/tutorials/introductory/pyplot.html

staalhandsken commented 6 years ago

yes this works.

pyahmed commented 6 years ago

I see - I was assuming a different Windows-specific error... will try to reproduce it in a Win10 VM.

pyahmed commented 6 years ago

I just tried it in a clean Win10 VM, it works for me but considering that the minimal sample is working for you there might a bug somewhere.. just not sure where exactly.