I want to use findobj attribute by this code,

import matplotlib.pyplot as plt 
import matplotlib.text as text 
.
.
.
fig = plt.figure()
for t in fig.findobj(text.Text): 
    t.set_family(somefamily) 

but I get this error :
Figure instance has no attribute 'findobj'

please help me.


sa6113 wrote:
> 
> I want to use findobj attribute by this code,
> 
> import matplotlib.text as text 
> 
> for t in fig.findobj(text.Text): 
>     t.set_family(somefamily) 
> 
> but I get this error :
> Figure instance has no attribute 'findobj'
> 
> please help me.
> 

-- 
View this message in context: 
http://www.nabble.com/findobj-problem%21-tp19505934p19505951.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to