On 03/12/2012 10:57 AM, Gias Uddin wrote:
> If I understand, this should have given me "TkAgg".
> so, the backend is not working properly.

No, the backend is fine, it is just the wrong one. Most likely, when you 
built mpl, the libraries for the gui backends were not found.

Try:

sudo apt-get build-dep python-matplotlib

and then try building and installing mpl again.

Eric

>
> On Mon, Mar 12, 2012 at 4:49 PM, Gias Uddin <gia...@gmail.com
> <mailto:gia...@gmail.com>> wrote:
>
>      >>> plt.get_backend()
>     'agg'
>
>
>
>     On Mon, Mar 12, 2012 at 4:00 PM, Goyo <goyod...@gmail.com
>     <mailto:goyod...@gmail.com>> wrote:
>
>         El día 12 de marzo de 2012 17:05, Gias Uddin <gia...@gmail.com
>         <mailto:gia...@gmail.com>> escribió:
>          > I have posted the following message in StackOverflow about my
>         problem with
>          > graph plotting using python nltk using Matplotlib and numpy.
>          > Advices will be tremendously helpful. Thanks in advance.
>          >
>          >
>         
> http://stackoverflow.com/questions/9661909/python-nltk-plots-are-not-showing-up
>
>         This usually happens when you're using a non interactive backend.
>         What's the output of plt.get_backend()?
>
>         Goyo
>
>
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to