problem: AttributeError: 'float' object has no attribute 'trace'

Hi, List experts,

Any one can help for this error solution? I googled but did not find this report.

Thanks in adance…

<matplotlib.figure.Figure at 0x1afe8f50>

Traceback (most recent call last):

File “”, line 5, in

hddm.analyze.plot_posterior_nodes([float(v_Neutral), float(v_Win), float(v_Loss)])

File “C:\Anaconda\lib\site-packages\kabuki\analyze.py”, line 34, in plot_posterior_nodes

lb = min([min(node.trace()[:]) for node in nodes])

AttributeError: ‘float’ object has no attribute ‘trace’

Hi Juan,

Could you post a minimal code to reproduce your issue?

Shawn

···

On Wed, Jun 3, 2015 at 2:03 PM, Juan Wu <wujuan22@…287…> wrote:

Hi, List experts,

Any one can help for this error solution? I googled but did not find this report.

Thanks in adance…

<matplotlib.figure.Figure at 0x1afe8f50>

Traceback (most recent call last):

File “”, line 5, in

hddm.analyze.plot_posterior_nodes([float(v_Neutral), float(v_Win), float(v_Loss)])

File “C:\Anaconda\lib\site-packages\kabuki\analyze.py”, line 34, in plot_posterior_nodes

lb = min([min(node.trace()[:]) for node in nodes])

AttributeError: ‘float’ object has no attribute ‘trace’



Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Yuxiang “Shawn” Wang
Gerling Research Lab
University of Virginia
yw5aj@…809…
+1 (434) 284-0836
https://sites.google.com/a/virginia.edu/yw5aj/

This error is not coming from matplotlib at all. plot_posterior_nodes is not our function.

Eric

···

On 2015/06/03 8:03 AM, Juan Wu wrote:

Hi, List experts,

Any one can help for this error solution? I googled but did not find
this report.

Thanks in adance...

<matplotlib.figure.Figure at 0x1afe8f50>
Traceback (most recent call last):

   File "<ipython-input-38-7909dff7bc28>", line 5, in <module>
     hddm.analyze.plot_posterior_nodes([float(v_Neutral), float(v_Win),
float(v_Loss)])

   File "C:\Anaconda\lib\site-packages\kabuki\analyze.py", line 34, in
plot_posterior_nodes
     lb = min([min(node.trace()[:]) for node in nodes])

AttributeError: 'float' object has no attribute 'trace'