OpenSMFS / FRETBursts

Burst analysis software for single and multi-spot single-molecule FRET (smFRET) data.
https://opensmfs.github.io/FRETBursts/
GNU General Public License v2.0
12 stars 9 forks source link

Burst variance analysis plotting error #47

Open shenk0128 opened 2 months ago

shenk0128 commented 2 months ago

When I use the Jupyter Notebook to do burst variance analysis, a plotting error came up as below.

image

harripd commented 2 months ago

Before I can provide a solution, I'll need some more details. I can say that the notebook works on my system. The most likely explanation is that you are using different (most likely older) versions of one or more packages. My best guess is that you are using an older version of seaborn.

Can you please tell me what version of seaborn you are using.

In your terminal:

conda list seaborn

Or in the notebook

print(sns.__version__)

I am using seaborn 0.13.2

The rest of your versions may be important, get this with (in the terminal)

conda list

I don't know which solution is better for you, to update your version or change the line in the notebook.

shenk0128 commented 2 months ago

Ahh the seaborn was version 0.10.1, and I updated it to 0.11.2, and it works now. Thank you very much.

shenk0128 commented 2 months ago

After I updated seaborn, alex_jointplot function seems not working, as in a previous build, there is a warning:

C:\ProgramData\anaconda3\envs\FRETBurstsEnv221014\lib\site-packages\seaborn\axisgrid.py:1840: UserWarning: JointGrid annotation is deprecated and will be removed in a future release.

harripd commented 2 months ago

Ah, sorry for the late reply, it looks like you must have used conda install for fretbursts. uninstall fretbursts and then reinstall using pip

pip install fretbursts

The project changed hands and I haven't been able to figure out how to get the upload to conda-forge to work.