On Sun, Oct 3, 2010 at 11:51 AM, Marcos Duarte <[email protected]> wrote:
> As this problem only happens with the IPython interpreter, which
> already sets the backends at startup, where do I change this?
> In the preferences/Console/External modules/ option the only thing I
> could do is to remove the -pylab option but doesn't work.
Changing the backend works for me if I include this in the run scriptfile
import matplotlib
matplotlib.use('Qt4Agg')#, warn=True)
(I don't know why warn worked in the regular spyder shell but raised a
TypeError in the ipython shell)
but this is with numpy 1.4 and matplotlib 0.99.1, where I also had
backend problems
Josef
>
> thanks
>
> Marcos
>
>
>
> On Sun, Oct 3, 2010 at 09:07, David Verelst <[email protected]> wrote:
>> Does it help to change the matplotlib backend?
>>
>> After importing matplotlib but before pylab:
>> matplotlib.use('Qt4Agg', warn=True)
>>
>>
>> On 3 October 2010 09:10, Marcos <[email protected]> wrote:
>>> I an new to Spyder and just installed Spyder 2.0.0beta4 and the latest
>>> versions of its dependencies for Python2.7 win32.
>>>
>>> I got the same behavior (if I understood correctly) but after I
>>> selected the option 'Interact with the Python interpreter after
>>> execution' at the 'Run configurations' dialog in the Run/Configure...
>>> menu (or just press F6), the plot window does not disappear anymore.
>>>
>>> The Internal console also works fine for importing pyplab and
>>> plotting.
>>>
>>> However, for the IPython interpreter the plots also don't work for me.
>>> An empty window appears (with no axes) and as soon as I interact with
>>> this window I get the same error as pointed by the later email
>>> 'interaction when using matplotlib': 'Fatal Python error:
>>> PyEval_RestoreThread: NULL tstate'.
>>>
>>> HTH
>>>
>>> Marcos
>>>
>>> On Sep 30, 11:18 am, Benoit Bovy <[email protected]> wrote:
>>>> Hello,
>>>>
>>>> I've just updated numpy (to 1.5.0), scipy (to 0.8.0) and matplotlib
>>>> (to 1.0.0) from package repositories of opensuse 11.2.
>>>>
>>>> Everything worked fine before the updates but now I can't open any
>>>> external console in spyder (run a script, open a new python or ipython
>>>> interpreter...). The new console tap opens and then the process
>>>> (thread) immediately stops (console status is "terminé").
>>>>
>>>> I have this issue with both spyder 1.1.3 and 2.0.0beta3. I've tried
>>>> running spyder in debug mode and alse removed all starting options for
>>>> ipython, but the problem is still there and no error is mentioned
>>>> during debugging.
>>>>
>>>> Any idea ?
>>>>
>>>> Thanks,
>>>>
>>>> Benoit.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "spyder" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/spyderlib?hl=en.
>>>
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "spyder" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/spyderlib?hl=en.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/spyderlib?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.