gandar
Posts: 215
Joined: Sat Feb 01, 2014 5:45 pm

matplotlib .show() not showing graph on pi python3x

Thu Aug 14, 2014 5:13 pm

I am using matplotlib on my pi and using the .use('Agg').

I can get it to save a png of the graph but I would like to see the graph populate on the screen usin .show()


Any ideas why this wouldn't be working? Display issues on arm system?
Last edited by gandar on Sat Aug 23, 2014 4:07 pm, edited 1 time in total.

gandar
Posts: 215
Joined: Sat Feb 01, 2014 5:45 pm

Re: matplotlib .show() not showing graph on pi python3x

Sun Aug 17, 2014 2:06 pm

Has anyone here used matplotlib on python 3x with the pi?

User avatar
algorithm
Posts: 190
Joined: Mon Nov 25, 2013 9:09 pm
Location: Flatland

Re: matplotlib .show() not showing graph on pi python3x

Tue Aug 26, 2014 6:57 am

I imagine not, as the version of matplotlib in the repository seems to be "1.1.1~rc2-1" and python3 support only came about with version 1.2. Version 1.4 has been released today, by the way. (Support for Python 3.4 requires matplotlib 1.4!)

Now how can we get version 1.4 available for Raspbian Wheezy? How might I help?

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: matplotlib .show() not showing graph on pi python3x

Tue Aug 26, 2014 2:47 pm

Raspbian Wheezy has the same version of matplotlib as upstream Debian Wheezy https://packages.debian.org/wheezy/python-matplotlib

Only Jessie has a newer version https://packages.debian.org/jessie/python-matplotlib (so I assume that'll be the version in Raspbian Jessie too).

Return to “Python”