This kind of error typically occurs when the graphics context is being accessed
outside of the event loop. This may work for other backends, but on Mac OS X in
such a case the graphics context is not defined. The solution may involve
reorganizing tight_layout such that the graphics context is no
That does indeed work. Thank you.
-E
On Tue, May 1, 2012 at 6:45 PM, Tony Yu wrote:
>
>
> On Tue, May 1, 2012 at 3:04 PM, Elliot Saba wrote:
>
>> Hey guys, I'm trying to use tight_layout() to fix up some subplot
>> grossness, but whenever I call it, I get:
>>
>> Traceback (most recent call las
On Tue, May 1, 2012 at 3:04 PM, Elliot Saba wrote:
> Hey guys, I'm trying to use tight_layout() to fix up some subplot
> grossness, but whenever I call it, I get:
>
> Traceback (most recent call last):
> File "test.py", line 16, in
> plt.tight_layout()
> File
> "/Users//.homebrew/Cellar/