Plot issue when try to plot the fitting in PDFGui

203 views
Skip to first unread message

Michael Zhang

unread,
Jun 27, 2024, 11:54:03 PM6/27/24
to diffpy-users

Hi everyone,

When I try to plot the fitting in PDFGui, I found the below issues, anyone can tell me why? The machine is based on a Mac OS silicon M2 chip. Screenshot 2024-06-28 at 10.37.55.png 

Big thanks in advance. Looking forward to your answers.

Best regards,

Michael

Qin You

unread,
Jul 3, 2024, 2:43:54 AM7/3/24
to diffpy-users
I had the same problem recently. I can't even start a fit..

Screenshot 2024-07-03 084037.png
Screenshot 2024-07-03 084204.png

Simon Billinge

unread,
Jul 3, 2024, 3:31:26 AM7/3/24
to diffpy...@googlegroups.com
This appears to be a numpy 2.0 issue.  

We will roll out a new PDFgui shortly that is compatible with numpy 2, but for now it should be possible to build an environment that requires numpy 1

When you install numpy in the environment, for example using "conda install numpy", specify it as "conda install numpy=1".

I haven't tested that, and don't have internet to do it, but something like that will work.  You may have to uninstall numpy then reinstall numpy 1.

Please let us know how it goes. 

S

--
You received this message because you are subscribed to the Google Groups "diffpy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diffpy-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/diffpy-users/e86da15d-5ed7-4d49-bfec-034233bedf92n%40googlegroups.com.

Michael Zhang

unread,
Jul 4, 2024, 10:26:28 PM7/4/24
to diffpy...@googlegroups.com
Hi Simon,

The solution can work.
This issue has been solved.
Then I close this issue.

Best wishes,
Michael

Simon Billinge <sb2...@columbia.edu> 于2024年7月3日周三 15:31写道:
Reply all
Reply to author
Forward
0 new messages