[yt-users] Control of thread/program not returning to ipython after creating a plot

j s oishi jsoishi at gmail.com
Fri May 13 07:04:26 PDT 2011


JC,

You can create your own matplotlibrc. It does not have to exist.


j

On Thu, May 12, 2011 at 8:14 PM, Jean-Claude Passy <jcpassy at gmail.com> wrote:
> Hi Matt,
>
> unfortunately, I am running on a Linux machine and my variable display is
> correctly set. However, I cannot find the file matplotlibrc:
>
> ------------------------------------------------------
> [20:02:45] helix:$ ls ~/.matplotlib/
> fontList.cache  tex.cache  tmp66z1Qv
> ------------------------------------------------------
>
> Thanks,
>
> JC
>
>
> On 12/05/11 19:32, Matthew Turk wrote:
>>
>> Hi JC,
>>
>> That's a puzzle!  Are you by any chance running on a Mac, which uses
>> the native OSX Ipython backend?  If you look in the scripts/iyt file,
>> you can see how we try to set it all up:
>>
>> http://hg.enzotools.org/yt/src/dacea37d5f8b/scripts/iyt
>>
>> lines 13-35.  Right now it looks like it only knows how to set it up
>> on Linux, or using X11 on OSX.  If you modify it so that it tries
>> grabbing the OSX backend, that might work for you?  Or maybe check to
>> see if you have DISPLAY set, and have the right rcParams in your
>> ~/.matplotlib/matplotlibrc ?
>>
>> I no longer have a Mac, so I can't test this directly, but I believe
>> that's the trouble spot, right there.
>>
>> -Matt
>>
>> On Thu, May 12, 2011 at 10:27 PM, Jean-Claude Passy<jcpassy at gmail.com>
>>  wrote:
>>>
>>> Hi all,
>>>
>>> I am analyzing some MESA data using iyt instead of a regular ipython.
>>> Everything works well except that when I make a plot with yt, control is
>>> not
>>> returning to the prompt. I have tried to start yt with different thread
>>> options (-gthread, -qthread, -q4thread and -wthread) but none of them
>>> worked. My version of yt is built with python 2.7.1. The weird thing is
>>> that
>>> it works smoothly with a regular version of ipython built from python
>>> 2.6.4.
>>>
>>> I would really appreciate if someone could help me to fix this. I would
>>> like
>>> to keep using yt and not have to change all my settings.
>>>
>>> Thanks a lot,
>>>
>>> JC
>>> _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list