animations with python and gtk3

I am using python 2.7 and matplotlib animations example .

when i am using gtk2 as a reference the plots works fine

but when i change the backend to gtk3 i start getting errors .

can someone help with that

how to work with animations / blit in gtk3

It would be helpful to know which version of matplotlib you are using,
which example you are referring to (I can guess, but I would rather know
for sure) and/or a minimal self-contained example that demonstrates the
problem you are having.

Cheers!
Ben Root

···

On Wed, Jul 24, 2013 at 3:09 AM, Gurinder Singh Gill <gsgill112@...287...>wrote:

I am using python 2.7 and matplotlib animations example .
when i am using gtk2 as a reference the plots works fine
but when i change the backend to gtk3 i start getting errors .
can someone help with that
how to work with animations / blit in gtk3

Thanks for replying Ben , i am using Matplotlib v_1.2.1 (installed using source) and am following embedding_in_gtk3.py, basic_anim.py and simple_anim.py.

basically i am trying to merge embedding_in_gtk3.py with simple_anim.py so that i have an gtk3 Main window and inside it i am plotting continuous graph.

I have done this using plt.show() function but at that time i was using gtk2.0 so i couldn’t integrate the plot inside my gtk3 window. So when ever i clicked plot button , it would pop off another window and start plot. (I dont want this)

Thanks for the reply

Regards,

Gurinder Singh Gill

···

On Wed, Jul 24, 2013 at 7:15 PM, Benjamin Root <ben.root@…3421…> wrote:

On Wed, Jul 24, 2013 at 3:09 AM, Gurinder Singh Gill <gsgill112@…287…> wrote:

I am using python 2.7 and matplotlib animations example .

when i am using gtk2 as a reference the plots works fine

but when i change the backend to gtk3 i start getting errors .

can someone help with that

how to work with animations / blit in gtk3

It would be helpful to know which version of matplotlib you are using, which example you are referring to (I can guess, but I would rather know for sure) and/or a minimal self-contained example that demonstrates the problem you are having.

Cheers!
Ben Root