Re: [Matplotlib-users] issue of compiling matplotlib1.1.0 on linux

2012-03-13 Thread Eric Firing
On 03/12/2012 08:28 PM, christophershou wrote: Hi, dears I’m a beginner of matplotlib and I tried hard, but couldn’t compile it Here’s the details of my system lLinux host28 2.6.18-274.12.1.el5 #1 SMP Tue Nov 29 13:37:46 EST 2011 x86_64 x86_64 x86_64 GNU/Linux You are missing critical

[Matplotlib-users] 答复: issue of compiling matplotlib1.1.0 on linux

2012-03-13 Thread christophershou
Thanks a lot, that issue has been resolved, thanks. I manually install the missed libpng and freetype2 again, and I didn't find yum-builddep in my server(it's centos), after installed those two dependencies , compile done! Thanks again Best regards! Christopher Shou/Crawler Engineer

Re: [Matplotlib-users] access to my underlying data from within picker or pick_handler

2012-03-13 Thread John Hunter
On Mon, Mar 12, 2012 at 11:05 PM, gsal salger...@gmail.com wrote: I am trying to change the underlying data for my plot via a pick event, except that the matplotlib examples for picking show a couple of functions with predefined signatures and I can't seem to figure out how to modify my data

Re: [Matplotlib-users] access to my underlying data from within picker or pick_handler

2012-03-13 Thread gsal
Thanks. That did the trick. -- View this message in context: http://old.nabble.com/access-to-my-underlying-data-from-within-picker-or-pick_handler-tp33492013p33494708.html Sent from the matplotlib - users mailing list archive at Nabble.com.

[Matplotlib-users] matplotlib picking mouseevent.key=None

2012-03-13 Thread gsal
Say, on Windows, the mouseevent.key correctly comes in as control, shift, or a letter...on Linux, it does notI am always getting None. is this a known problem with known solution? thanks, gsal -- View this message in context:

Re: [Matplotlib-users] matplotlib picking mouseevent.key=None

2012-03-13 Thread Benjamin Root
On Tue, Mar 13, 2012 at 10:05 AM, gsal salger...@gmail.com wrote: Say, on Windows, the mouseevent.key correctly comes in as control, shift, or a letter...on Linux, it does notI am always getting None. is this a known problem with known solution? Which backend are you using? Also,

Re: [Matplotlib-users] matplotlib picking mouseevent.key=None

2012-03-13 Thread John Hunter
On Tue, Mar 13, 2012 at 10:05 AM, gsal salger...@gmail.com wrote: Say, on Windows, the mouseevent.key correctly comes in as control, shift, or a letter...on Linux, it does notI am always getting None. is this a known problem with known solution? We need more information, what is your

Re: [Matplotlib-users] matplotlib picking mouseevent.key=None

2012-03-13 Thread gsal
Here are some imports: # PyQt4 modules from PyQt4.QtCore import * from PyQt4.QtGui import * # matplotlib modules import matplotlib.patches as mpathes import matplotlib.text as mtext import matplotlib.lines as mlines from matplotlib.path import Path from matplotlib.collections import

Re: [Matplotlib-users] matplotlib picking mouseevent.key=None

2012-03-13 Thread gsal
Here are some imports: # PyQt4 modules from PyQt4.QtCore import * from PyQt4.QtGui import * # matplotlib modules import matplotlib.patches as mpathes import matplotlib.text as mtext import matplotlib.lines as mlines from matplotlib.path import Path from matplotlib.collections import

[Matplotlib-users] missing documentation on homepage: subplots

2012-03-13 Thread Alan G Isaac
Just noticed that ``subplots`` documentation is missing from the homepage http://matplotlib.sourceforge.net/index.html I assume this is an oversight, so I'm reporting it. fwiw, Alan Isaac -- Keep Your Developer Skills

Re: [Matplotlib-users] open ascii grid data and plot

2012-03-13 Thread Goyo
El día 12 de marzo de 2012 23:25, questions anon questions.a...@gmail.com escribió: [...] Is this how the data should look when it has been imported from an ascii to a numpy array? I can't see anything obiously wrong in your code or your data --I did not dive too deep into it though. What is

Re: [Matplotlib-users] missing documentation on homepage: subplots

2012-03-13 Thread gsal
It does come up for me. -- View this message in context: http://old.nabble.com/missing-documentation-on-homepage%3A-subplots-tp33496068p33496313.html Sent from the matplotlib - users mailing list archive at Nabble.com.

Re: [Matplotlib-users] where is line after remove?

2012-03-13 Thread Goyo
El día 13 de marzo de 2012 00:25, Federico Ariza ariza.feder...@gmail.com escribió: [...] I want to turn visibility on and off for lines. I can not use the visible property, using it the autolimits relim keeps considering the lines as being there. As consequence the limits are wrong (if we

Re: [Matplotlib-users] where is line after remove?

2012-03-13 Thread Federico Ariza
Hi That is exactly what I am doing, but I thought it was kept somewhere. I like the idea of upstream modification of relim. Thanks Federico On Tue, Mar 13, 2012 at 2:13 PM, Goyo goyod...@gmail.com wrote: El día 13 de marzo de 2012 00:25, Federico Ariza ariza.feder...@gmail.com escribió:

Re: [Matplotlib-users] PyQt4 FigureCanvasQTAgg Subclass segfaults with Matplotlib 1.1?

2012-03-13 Thread Keith Hughitt
Thanks for the suggestions, Darren. I spent some time going through older revisions of Matplotlib (and Numpy and SciPy) and it turns out that it isn't an issue with Matplotlib as I originally suspected, but rather how I went out updated an imshow-based plot. Previously I was attempting to plot an

Re: [Matplotlib-users] where is line after remove?

2012-03-13 Thread Benjamin Root
On Tue, Mar 13, 2012 at 1:20 PM, Federico Ariza ariza.feder...@gmail.comwrote: Hi That is exactly what I am doing, but I thought it was kept somewhere. I like the idea of upstream modification of relim. Thanks Federico Federico, Why would you think it is kept somewhere? The method is

Re: [Matplotlib-users] missing documentation on homepage: subplots

2012-03-13 Thread Alan G Isaac
On 3/13/2012 1:59 PM, gsal wrote: It does come up for me. You are probably looking at ``subplot`` rather than ``subplots``. Alan Isaac -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive

Re: [Matplotlib-users] missing documentation on homepage: subplots

2012-03-13 Thread Alan G Isaac
On 3/13/2012 1:59 PM, gsal wrote: It does come up for me. You are probably looking at ``subplot`` rather than ``subplots``, which is missing. Alan Isaac -- Keep Your Developer Skills Current with LearnDevNow! The most

Re: [Matplotlib-users] where is line after remove?

2012-03-13 Thread Federico Ariza
Ben Yest It is called remove but not destroy ;) Given that the relim takes in count the invisible lines, I thougth it was planned that you could remove and add the lines from its axes. Thanks Federico On Tue, Mar 13, 2012 at 2:44 PM, Benjamin Root ben.r...@ou.edu wrote: On Tue, Mar 13,

Re: [Matplotlib-users] missing documentation on homepage: subplots

2012-03-13 Thread Benjamin Root
On Tue, Mar 13, 2012 at 1:51 PM, Alan G Isaac alan.is...@gmail.com wrote: On 3/13/2012 1:59 PM, gsal wrote: It does come up for me. You are probably looking at ``subplot`` rather than ``subplots``, which is missing. I can make a pull request to fix this and some other issues I have

Re: [Matplotlib-users] where is line after remove?

2012-03-13 Thread John Hunter
On Tue, Mar 13, 2012 at 1:20 PM, Federico Ariza ariza.feder...@gmail.comwrote: Hi That is exactly what I am doing, but I thought it was kept somewhere. I like the idea of upstream modification of relim. It would be trivial to add a kwarg to relim: include_invisible=True which defaults to

Re: [Matplotlib-users] missing documentation on homepage: subplots

2012-03-13 Thread gsal
I don't think so, I thought I paid attention when I noticed the choice between 'subplot' and 'subplots'. In any case, now there does not seem to be a choice, there is no 'subplots'...there is only 'subplot'...was this page modified? 'cause the Last Updated notice at the bottom of the page still

Re: [Matplotlib-users] where is line after remove?

2012-03-13 Thread Eric Firing
On 03/13/2012 09:17 AM, John Hunter wrote: On Tue, Mar 13, 2012 at 1:20 PM, Federico Ariza ariza.feder...@gmail.com mailto:ariza.feder...@gmail.com wrote: Hi That is exactly what I am doing, but I thought it was kept somewhere. I like the idea of upstream modification of

Re: [Matplotlib-users] open ascii grid data and plot

2012-03-13 Thread questions anon
thanks for looking into this Goyo. The complete code: import numpy as N import matplotlib.pyplot as plt from numpy import ma as MA from mpl_toolkits.basemap import Basemap import os shapefile=E:/GIS_layers/DSE_REGIONS inputfile=rd:/BoMdata/r19000117.txt outputfolder=rd:/BoMdata/outputfolder

Re: [Matplotlib-users] open ascii grid data and plot

2012-03-13 Thread questions anon
also I have tried running it on a different computer and the same error occurred On Wed, Mar 14, 2012 at 8:22 AM, questions anon questions.a...@gmail.comwrote: thanks for looking into this Goyo. The complete code: import numpy as N import matplotlib.pyplot as plt from numpy import ma as