On Thu, Nov 12, 2009 at 12:13 PM, Taro Sato <ub...@gm...> wrote:
>
>
> TheLonelyStar wrote:
>>
>>
>> /net/gorgonzola/storage/nhuesken/svn/ActiveLearning/SVM/ModelSelection/Ergebnisse/plot.pyc
>> in plot(filename, line_list, name_list, reference)
>> 6 for i in xrange(len(line_list)):
>> 7
>> plt.plot(m[:,reference],m[:,line_list[i]],label=name_list[i])
>> 8 plt.legend(loc='best')
>> ----> 9 plt.show()
>> 10
>>
>>
>
> Are you calling plt.show() more than once within a script? If so, I was
> having a similar issue, but after reading this FAQ entry:
>
> http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show
>
> I realized that the specific usage of show() is not supported (yet);
> plt.show() can only be used once within a script. Out of luck!
>
> I hope there is a resolution one way or the other, since it will make
> matplotlib so much more useful than it already is.
The problem with the Qt4 backend was already reported on this (or the
developers) list. It is a regression in PyQt4 or sip and will be fixed
in the next release.
Darren
|