TypeError in 'correlation plot' from xrd/xrf map data (.h5) #459
Closed
Piyush-skls
started this conversation in
General
Replies: 2 comments
-
@Piyush-skls sorry for the trouble - I see that too. Will fix soon. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Piyush-skls I think this should be fixed if you upgrade C:\Users\Dell\anaconda3\envs\xraylarch\python -m pip install --upgrade wxmplot |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have downloaded and installed the latest version of xraylarch in Windows (10) using the Anaconda Python environment (Python 3.11.4). I am trying to make correlation plot but I am getting this error:
File "C:\Users\Dell\anaconda3\envs\xraylarch\Lib\site-packages\larch\wxmap\mapviewer.py", line 497, in onROIMap
plotcmd()
File "C:\Users\Dell\anaconda3\envs\xraylarch\Lib\site-packages\larch\wxmap\mapviewer.py", line 473, in ShowCorrel
correl_plot.display(map1, map2, name1=xlab, name2=ylab,
File "C:\Users\Dell\anaconda3\envs\xraylarch\Lib\site-packages\wxmplot\imagematrixframe.py", line 387, in display
self.set_contrast_levels()
File "C:\Users\Dell\anaconda3\envs\xraylarch\Lib\site-packages\wxmplot\imagematrixframe.py", line 438, in set_contrast_levels
cmap_panel.cmap_hi.SetValue(xhi)
TypeError: Slider.SetValue(): argument 1 has unexpected type 'numpy.float64'
All other functions are working. Can you please help me in fixing this error?
Beta Was this translation helpful? Give feedback.
All reactions