[Matplotlib-users] plot problem

2015-05-16 Thread Juan Wu
Hi, List experts,

I have a matplotlib problem when I tried to use a tool called HDDM. As
HDDM is another issue, I here just post my problem with Matplotlib. In
short, the error alarm appeard when I input fig = plt.figure(). I am a
beginner with those stuff.

I would appreciate if anyone can give me any good pointers.

Thanks so much,
Juan

==

In [8]: fig = plt.figure()


In [9]: ax = fig.add_subplot(111, xlabel='RT', ylabel='count',
title='RT distributions')

In [10]: for i, subj_data in data.groupby('subj_idx'):
...: subj_data.rt.hist(bins=20, histtype='step', ax=ax)
...: plt.savefig('hddm_demo_fig_00.pdf')


Traceback (most recent call last):

  File "", line 2, in 
subj_data.rt.hist(bins=20, histtype='step', ax=ax)

  File "C:\Anaconda\lib\site-packages\pandas\tools\plotting.py", line
2830, in hist_series
raise AssertionError('passed axis not bound to passed figure')

AssertionError: passed axis not bound to passed figure

(relevant link: https://groups.google.com/forum/#!topic/hddm-users/yBeIRJaHGwo
there very few experts view and reply questions)

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] problem: AttributeError: 'float' object has no attribute 'trace'

2015-06-03 Thread Juan Wu
Hi, List experts,

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

Thanks in adance...


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


[Matplotlib-users] about my member of the list

2015-06-15 Thread Juan Wu
Dear manager,

I am confused as I actually normally joined this list, but it is always
hard for me to post in this mailing list. A friend reminded me that I was
not a member of the list - I do not know the reason. Could you help to
check whether I joined this list successfully.

Second, could I also ask/discuses the general python issues in this
matplotlib? Or any good points if I want to join in a python mail list as
well?

Thanks so much,
J
--
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users