Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-12 Thread Sandro Tosi
org/cgi-bin/bugreport.cgi?msg=5;filename=matplotlib-printf-buffer-overrun.patch;att=1;bug=775691 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775691 Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.alter

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-08 Thread Sandro Tosi
st_axes_grid1 (but it might be due to an un-clean env, I will re-run in a chroot to be sure), also any reason not to include https://github.com/matplotlib/matplotlib/commit/ba4016014cb4fb4927e36ce8ea429fed47dcb787#diff-51 ? that would fix CVE-2013-1424 Cheers, -- Sandro Tosi (aka morph, morpheus

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-08 Thread Sandro Tosi
o, I will update the tracking straight away. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Dive into the World of

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Sandro Tosi
download new releases pointing to SF: do you plan to switch to GH for releasing tarballs too? Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.or

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Sandro Tosi
ues, the > plan is to target 1.4.3 for next weekend. could you also release a tarball on SF, so I can start updating the debian package and give it a spin on our distro? Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http

Re: [Matplotlib-users] [matplotlib-devel] v1.4.1rc1

2014-10-16 Thread Sandro Tosi
p://p.sf.net/sfu/Zoho > ___ > Matplotlib-devel mailing list > matplotlib-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Sandro Tosi (aka morph, morpheus, matrixhas

Re: [Matplotlib-users] Problems installing matplotlib - compiling error

2013-01-28 Thread Sandro Tosi
On Mon, Jan 28, 2013 at 9:05 PM, Michael Droettboom wrote: > sudo apt-get build_dep python-matplotlib small typo fix: the option name is 'build-dep'. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wi

Re: [Matplotlib-users] RPM conflicts between basemap and matplotlib, mpl_toolkits/__init__.py(oc)

2012-11-01 Thread Sandro Tosi
le when install basemap, by either remote it when creating the package or similar solution). This way matplotlib package will create the namespace for all the other packages to install modules in it, and avoiding conflicts like the one you described. HTH, -- Sandro Tosi (aka morph, morpheus, matr

Re: [Matplotlib-users] Documentation

2012-05-20 Thread Sandro Tosi
esn't use traits** removed > python-wxgtk2.8 - **not needed for build** same as for > python-wxgtk2.8-dbg - **not needed for build** removed Thanks for your review! -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/

Re: [Matplotlib-users] v1.1.0 crashes upon exit

2011-11-02 Thread Sandro Tosi
On Wed, Nov 2, 2011 at 21:00, Benjamin Root wrote: > On Wed, Nov 2, 2011 at 2:50 PM, Sandro Tosi wrote: >> >> On Wed, Nov 2, 2011 at 20:39, Michael Droettboom wrote: >> > I'm not able to reproduce this, but I've seen similar issues in the >> > past.

Re: [Matplotlib-users] v1.1.0 crashes upon exit

2011-11-02 Thread Sandro Tosi
'canvas'): >              self.canvas.destroy() > +        del self.toolbar > +        del self.vbox > +        del self.window > +        del self.canvas >          self.__dict__.clear()   #Is this needed? Other backends don't > have it. > >          if Gcf

Re: [Matplotlib-users] v1.1.0 crashes upon exit

2011-11-02 Thread Sandro Tosi
sertion `GTK_IS_WIDGET (widget)' failed self.toolbar.destroy() /usr/lib/pymodules/python2.7/matplotlib/backends/backend_gtk.py:552: GtkWarning: IA__gtk_widget_is_toplevel: assertion `GTK_IS_WIDGET (widget)' failed s

Re: [Matplotlib-users] matplotlib 1.0 release candidate 1 available for testing

2010-07-02 Thread Sandro Tosi
on't be targetting the next Debian stable release). Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- This SF.net e

Re: [Matplotlib-users] Importing pylab in python CGI script causes immediate failure

2010-05-31 Thread Sandro Tosi
executed server-side; to know what's going wrong, check the log files of your web server. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http

Re: [Matplotlib-users] Create and maintain an IRC chan for the matplotlib library

2010-04-14 Thread Sandro Tosi
#scipy on freenode network. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Download Intel® Parallel Studio Eval Tr

Re: [Matplotlib-users] FW: matplotlib

2010-04-07 Thread Sandro Tosi
e agg backend can't be used for interactive usage, so it doesn't support any show() method, but only the one to save the figure as a file, with savefig(). if you want to use mpl interactive, set the backend to 'TkAgg' (it should be available on your system too) or 'GtkAgg&#

Re: [Matplotlib-users] Problems with Matplotlib and Python 2.6

2010-04-01 Thread Sandro Tosi
kend, something like TkAgg, GTKAgg or Qt4Agg, that calling show() will generate a window with the graph in it. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://

Re: [Matplotlib-users] Problems with Matplotlib and Python 2.6

2010-04-01 Thread Sandro Tosi
;> from pylab import randn, hist, show >>> x = randn(1) >>> hist(x, 100) >>> show() works as expected $ python2.6 -c "import matplotlib ; print matplotlib.__version__" 0.99.1.1 Wouldn't you want to run ipython instead of python? Regards, -- San

[Matplotlib-users] Matplotlib book published

2009-11-21 Thread Sandro Tosi
Hi all, I'm pleased to announce that the book about Matplotlib has been published. More info at: http://sandrotosi.blogspot.com/2009/11/matplotlib-for-python-developers.html Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at D

Re: [Matplotlib-users] Is it possible to build matplotlib in place ?

2009-09-29 Thread Sandro Tosi
y", line 52, in >    from matplotlib import ft2font > ImportError: matplotlib/ft2font.so: undefined symbol: py_object_initializer what version are you using? 0.99.1.1, svn trunk, other? Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/

Re: [Matplotlib-users] Remove matplotlib 0.98 in order to install 0.99 on Ubuntu

2009-09-06 Thread Sandro Tosi
o a directory in ~ (using the --root and --prefix when setup.py install). Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi ---

Re: [Matplotlib-users] loading csv data into arrays

2009-08-12 Thread Sandro Tosi
On Wed, Aug 12, 2009 at 16:56, per freem wrote: > hi all, > > i have tab-separated text files that i would like to parse into arrays > in numpy/scipy. i simply want to be able to read in the data into an numpy's loadtxt() Regards, -- Sandro Tosi (aka morph, morpheus, matri

Re: [Matplotlib-users] show figures in a loop

2009-08-02 Thread Sandro Tosi
e a lot of unnecessary data handling. What is > the clever solution? Is the solution above fine for you? Probably if you explain us better what you want to achieve, we can help you in a better way. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.alte

[Matplotlib-users] [basemap] support shapefile in a zip archive

2009-07-29 Thread Sandro Tosi
Hello, thru data.gov, there are several shapefile archives available, in a zip format. Do someone believe it worths to support this kind of "distribution" of shp or we'd like still to have the zip unzip'ed first and the readshapefile() the resulting file? Regards, -- Sa

Re: [Matplotlib-users] I really can't get into hist() barstacked

2009-07-22 Thread Sandro Tosi
On Tue, Jul 21, 2009 at 18:00, Sandro Tosi wrote: > for example, let's say I want to plot this series > > s1 = 2,3,6,3,1 > s2 = 1,2,2,4,1 > s3 = 4,1,0,3,7 > > what's the format of data to pass to hist() ? by row? by column? Just to clarify: from the above lists o

[Matplotlib-users] I really can't get into hist() barstacked

2009-07-21 Thread Sandro Tosi
s s1 = 2,3,6,3,1 s2 = 1,2,2,4,1 s3 = 4,1,0,3,7 what's the format of data to pass to hist() ? by row? by column? Thanks a lot in advance, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://w

Re: [Matplotlib-users] Matplotlib+Qt. Problem with plot resizing

2009-07-19 Thread Sandro Tosi
2009/7/19 Alexander Bruy : > > I create a small example, see attachment. no attachment :) -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/Sand

[Matplotlib-users] Simple "stuff" for a general-purpose matplotlib book

2009-07-13 Thread Sandro Tosi
late them). But what I'd like is to hear from you what "simple" example you'd like to propose to be in this book. Your collaboration would be really appreciate, because it will let the book be more "user driven" :) Cheers, -- Sandro Tosi (aka morph, morphe

Re: [Matplotlib-users] Empty squares at end of data after interpolation with griddata?

2009-07-05 Thread Sandro Tosi
> plotted. I'm printing out a 10x10 version of this to exaggerate the effect: > > http://files.getdropbox.com/u/533499/griddata-example-text.png this link returns a 404. Please attach the image to this email, along with a minimal program to replicate the problem (if possible). Regards

Re: [Matplotlib-users] ImportError: No module named mplot3d

2009-07-01 Thread Sandro Tosi
d still lives only under SVN and was not released yet (note that there is a new version of matplotlib, 0.98.5.3). So either you take the version from SVN (there's a guide on matplotlib.sf.net) or wait for the next release :) Regards, -- Sandro Tosi (aka morph, morpheus, matri

Re: [Matplotlib-users] Zooming plot and transforms...

2009-07-01 Thread Sandro Tosi
but probably it was not release because of this phrase: "In the svn version of matplotlib". Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at

Re: [Matplotlib-users] Dynamic plotting?

2009-06-29 Thread Sandro Tosi
n refer to animation examples [1] for code that does what you want. [1] http://matplotlib.sourceforge.net/examples/animation/index.html at the very end, you update the line data with set_ydata() , set_xdata() or set_data() and then call a draw() on the figure. Regards, -- Sandro Tosi (ak

Re: [Matplotlib-users] install error, libz, ld, lz

2009-06-26 Thread Sandro Tosi
#x27;zlib'?   I am using python 2.4.3, and numpy > 1.2.1. you need to install the development package (in the common sense, for your pacakge manager) to be able to compile code that dinamically links to libz. For example on Debian with libz-dev (provided by zlib1g-dev). Install a similar pa

Re: [Matplotlib-users] Running matplotlib job with cron

2009-06-25 Thread Sandro Tosi
ut. I may have read the mail fast, but I can't see any notice about if the image outputs are different (other than the textual outputs). > matplotlib version 0.91.2 You might also want to update: matplotlib latest release is 0.98.5.3 Regards, -- Sandro Tosi (aka morph, morphe

Re: [Matplotlib-users] Matplot Numpy possible bug !

2009-06-23 Thread Sandro Tosi
the concept, no need to repeat since it means you're screaming and "order" us to reply, which is never the case on OSS projects users mailinglist. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian

Re: [Matplotlib-users] Adding grid to animation with blit

2009-06-22 Thread Sandro Tosi
lt;-- this was missing self.bg = self.canvas.copy_from_bbox(self.ax.bbox) adding an explicit draw() call let the grid() be drawn and then the result is what's expected. Thanks a lot! Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me

[Matplotlib-users] Adding grid to animation with blit

2009-06-21 Thread Sandro Tosi
in advance Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Are you an open source citizen? Join us for th

Re: [Matplotlib-users] trying to plot polar data

2009-06-16 Thread Sandro Tosi
t; and I get the attached plot no attached image. > How do make the dashed lines  continue inward? How do choose the spacing? > How do remove the ugly text? could at least rgrids() thetagrids() help you in part of your questions? Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My websi

Re: [Matplotlib-users] change a matplotlib.lines.Line2D and update the plot

2009-06-15 Thread Sandro Tosi
et of X/Y); then call a draw on the canvas. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Crystal Reports - Ne

Re: [Matplotlib-users] [Matplotlib-announce] Fwd: Matplotlib ticklabels error

2009-06-10 Thread Sandro Tosi
short example (ideally the smallest part able) to reproduce the problem? Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -

Re: [Matplotlib-users] Setting axis range so it is not rescaled

2009-06-04 Thread Sandro Tosi
ymax]) or axis([xmin, xmax, ymin, ymax]). Or directly from the Axes instances: set_xlim(), set_ylim(). You can check for the complete references of these functions on matplotlib.sf.net Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me

Re: [Matplotlib-users] one data set, two y axis scales

2009-06-04 Thread Sandro Tosi
eforge.net/api/pyplot_api.html?highlight=twinx#matplotlib.pyplot.twinx Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.

Re: [Matplotlib-users] Labeling X-axis with time data

2009-06-02 Thread Sandro Tosi
Better keep the list in the loop ;) On Tue, Jun 2, 2009 at 21:20, C M wrote: > On Tue, Jun 2, 2009 at 1:56 PM, Sandro Tosi wrote: >> - x data values has to be datetime objects (so you have to convert to that) >> - you have to use plot_data() instead of plot() > > OP, no

Re: [Matplotlib-users] Labeling X-axis with time data

2009-06-02 Thread Sandro Tosi
a working program; in the gallery in the website you can also find an example for date plotting. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -

Re: [Matplotlib-users] Howto get horiz/vert grid

2009-05-29 Thread Sandro Tosi
rd to tell but) is it possible that you have Y values contained in a single logarithmic inteval (or even closer)? if so, there is no line on Y to draw and only vertival lines (relative to X values) are displayed. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.

Re: [Matplotlib-users] Adapt animation_blit_qt4.py to a pure OO implementation (QT4 timerEvent)

2009-05-28 Thread Sandro Tosi
Hi Darren, On Fri, May 29, 2009 at 01:50, Darren Dale wrote: > On Thu, May 28, 2009 at 6:01 PM, Sandro Tosi wrote: >> >> Hi Darren, >> >> On Thu, May 28, 2009 at 19:16, Darren Dale wrote: >> > Try the attached script. >> >> Oh it works very g

Re: [Matplotlib-users] Adapt animation_blit_qt4.py to a pure OO implementation (QT4 timerEvent)

2009-05-28 Thread Sandro Tosi
with a new one. In this code, instead, the line is plotted keeping the previous instances around. So the effect is to fil the canvas with sin function plots instead of updating only one instance. Do you know how to "fix" this? Thanks a lot for your support! :) -- Sandro Tosi (aka morph, mo

Re: [Matplotlib-users] Adapt animation_blit_qt4.py to a pure OO implementation (QT4 timerEvent)

2009-05-27 Thread Sandro Tosi
Hi Darren, thanks for replying On Wed, May 27, 2009 at 21:01, Darren Dale wrote: > On Wed, May 27, 2009 at 9:11 AM, Sandro Tosi wrote: >> >> Hi all, >> I'd like to adapt 'animation_blit_qt4.py' to a pure OO approach, >> removing pylab f

[Matplotlib-users] Adapt animation_blit_qt4.py to a pure OO implementation (QT4 timerEvent)

2009-05-27 Thread Sandro Tosi
4.py' but that can be updated using the timerEvent / startTime paradigm (something similar to gobject.add_idle(func) but this time for Qt4). Can someone please give me a help on this? Thanks a lot in advance, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matri

Re: [Matplotlib-users] matplotlib.lines.Line2D object at 0x283d310 - strange error

2009-05-27 Thread Sandro Tosi
ted at 0x2ddc150 (it's a memory location). if you do something like p = plot(a) you'll see this messages go away, since you assign the instance reference to the variable p Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.or

Re: [Matplotlib-users] multiple plots in 1 figure

2009-05-19 Thread Sandro Tosi
how(); something like import matplotlib.pyplot as plt for j in range(columns of matrix): plt.plot(, ) plt.show() Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.

Re: [Matplotlib-users] [matplotlib-devel] Error building from source - Ubuntu

2009-05-18 Thread Sandro Tosi
actly tell how to do it. Of course the devel package version mismatch the interpreter one, and that's a problem for sure. if you don't have a python2.5-dev or a python-all-dev IO think you can't find an easy solution; since numpy does not yet support py2.6, building mpl w

Re: [Matplotlib-users] Where are AutoDateLocator and AutoDateFormatter?

2009-05-15 Thread Sandro Tosi
DayLocator() In [16]: hoursLoc = mpl.dates.HourLocator(interval=6) In [17]: ax2.xaxis.set_major_locator(daysLoc) In [18]: ax2.xaxis.set_minor_locator(hoursLoc) In [19]: fig.autofmt_xdate(bottom=0.18) # adjust for correct date labels display In [20]: fig.subplots_adjust(left=0.18) HTH Chee

Re: [Matplotlib-users] Autoscale embedding in gtk + dynamical update of plot + Y log scale

2009-05-12 Thread Sandro Tosi
Hi All, I'd like to renew this request below. I've worked-around this problem setting xlim/ylim (as min/max of the relative axis) right before redraw the figure, but I'd like to know for a more elegant solution. Thanks in advance, Sandro On Sun, May 10, 2009 at 23:31, Sandro To

Re: [Matplotlib-users] Total noob question. How to start Matplotlib

2009-05-12 Thread Sandro Tosi
]: x = np.arange(0,2*np.pi,.01) In [4]: y = np.sin(x**2)*np.exp(-x) In [5]: plt.plot(x, y) Out[5]: [] In [6]: plt.show() I hope you'll find it interesting, and explore more about matplotlib. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhas

[Matplotlib-users] Autoscale embedding in gtk + dynamical update of plot + Y log scale

2009-05-10 Thread Sandro Tosi
can do to make that graph autoscale at "set_data" time? can I force it somehow? if I can't do it handy, is there a workaround to obtain the same effect? Thanks in advance, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervist

Re: [Matplotlib-users] strange issue

2009-05-07 Thread Sandro Tosi
is problem in future apart from renaming > inspect.py to another name? rename it :) or maybe changing the os.path variable forcing to some values. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTo

Re: [Matplotlib-users] Embed in GTK + dynamic plot

2009-05-04 Thread Sandro Tosi
Hi John, On Sun, May 3, 2009 at 00:21, John Hunter wrote: > On Sat, May 2, 2009 at 9:42 AM, Sandro Tosi wrote: >> >> Hi all! >> I'd like to embed a mpl graph into a GTK application (and for that >> embedding_in_gtk*.py examples are fine) but I would also like to

Re: [Matplotlib-users] Continuously varying line colors?

2009-05-04 Thread Sandro Tosi
y this behavior in scatter? maybe this[1] could be of help? [1] http://www.scipy.org/Cookbook/Matplotlib/MulticoloredLine Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at De

[Matplotlib-users] Embed in GTK + dynamic plot

2009-05-02 Thread Sandro Tosi
t knows how to gather cpu percentage usage on a linux sys, please tell me :) It seems not that easy to find it out from google ;) -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://w

Re: [Matplotlib-users] Another Gnuplot style question

2009-04-29 Thread Sandro Tosi
w() > I have spent time looking through the documentation but I can't find > anyway to do this is any straightforward way.  plotfile() looks > promising, but I can't seem to make it do the above.  Thanks in > advance. to load data from file you can try matplotlib.mlab.csv2rec Ch

Re: [Matplotlib-users] installation issue

2009-04-28 Thread Sandro Tosi
On Tue, Apr 28, 2009 at 15:26, Bala subramanian wrote: > Hi, > I think freetype is already installed in Fedora10. When i search yum as I said freetype2 *headers*, those files needed for development, not runtime support. Install the according packages for your distribution. -- Sandro Tos

Re: [Matplotlib-users] installation issue

2009-04-28 Thread Sandro Tosi
r example). Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Register Now & Save for Velocity, the Web Performance

Re: [Matplotlib-users] warining with ipython

2009-04-27 Thread Sandro Tosi
could you please provide a simple script (along with configuration files that applies to your executions) to replicate the issue? I can speculate there some GUI mixture, but with code in front it's easier :) Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://mat

Re: [Matplotlib-users] line properties

2009-04-27 Thread Sandro Tosi
On Mon, Apr 27, 2009 at 18:11, Jouni K. Seppänen wrote: > Sandro Tosi writes: >> I think there's some sort of typo there, since it's setp > > Yes, it used to be set but then Python added the set data type with the > same name, so references to the old name could re

Re: [Matplotlib-users] line properties

2009-04-27 Thread Sandro Tosi
    Traceback (most recent call last) > > /home/cbala/ in () > > TypeError: set() does not take keyword arguments In [6]: new = plt.plot(x,y) In [7]: plt.setp(new, linewidth=10) Out[7]: [None] works as expected. Cheers, -- Sandro Tosi (aka morph, morpheus, matrix

Re: [Matplotlib-users] warining with ipython

2009-04-27 Thread Sandro Tosi
t one and the one set by hand in this session. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Crystal Reports - N

Re: [Matplotlib-users] Ticks

2009-04-27 Thread Sandro Tosi
tlib module. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- Crystal Reports - New Free Runtime and 30 Day Trial Ch

Re: [Matplotlib-users] two scales in the same plot

2009-04-24 Thread Sandro Tosi
2 = ax1.twinx() ax2.plot(x, y2, 'r') ax2.set_xlim([0,np.e]) ax2.set_ylabel('Y values for ln(x)') ax2.set_xlabel('Same X for both exp(-x) and ln(x)') The values on X has to be of the same scale, tough, else the graph would look really weird. Cheers, -- Sa

Re: [Matplotlib-users] New user having much trouble with formating dates on x-axis

2009-04-18 Thread Sandro Tosi
gt; datetime.fromtimestamp(timestamp[, tz])  ? yeah: In [1]: import datetime In [2]: import time In [3]: t = time.time() In [4]: datetime.datetime.fromtimestamp(t) Out[4]: datetime.datetime(2009, 4, 18, 9, 54, 55, 125239) Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: htt

Re: [Matplotlib-users] New user having much trouble with formating dates on x-axis

2009-04-17 Thread Sandro Tosi
case, you have to convert those in datetime objects, then dates = list of datetime objects mpl_dates = [matplotlib.dates.date2num(date) for date in dates] and at the and use plot_date() instead of plot(), using mpl_dates for X axis. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My webs

Re: [Matplotlib-users] change hour format in date plotting

2009-04-05 Thread Sandro Tosi
atter( DateFormatter('PUT YOUR FORMAT HERE') ) Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi --

Re: [Matplotlib-users] help me to understand please

2009-03-28 Thread Sandro Tosi
t; figure with no need to execute "plt.show()" or close the windows between a command and a "show()". Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: ht

[Matplotlib-users] Status of polar() / rgrids() / thetagrids() documentation

2009-03-26 Thread Sandro Tosi
d. I'd like to know if there's a better place to have doc about those functions, or if there's an effort to improve it already planned. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: htt

Re: [Matplotlib-users] Working with arrows

2009-03-26 Thread Sandro Tosi
e readers (of the book) a much wider toolbox, so introducing bare arrows after annotations seems straigthforward. > Annotate does not adjust the xlim and ylim of your axes for you, thus > it is your responsibility. Yep, already noticed :D Cheers, -- Sandro Tosi (aka morp

[Matplotlib-users] Working with arrows

2009-03-25 Thread Sandro Tosi
s like "usetex_demo" the arrows are drawn "by hand" :) Thanks, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervis

Re: [Matplotlib-users] Pause/waitforbuttonpress behavior.

2009-03-09 Thread Sandro Tosi
Agg. If you want different backends than tkagg (that plays nice with interactive interpreters), you could try $ ipython -pylab that is able to identify the wanted backend and work correctly with it while keeping the interactive prompt available. Cheers, -- Sandro Tosi (aka morph, morpheus, ma

Re: [Matplotlib-users] Adapt plot- or font-size to avoid xlabel cutting

2009-03-03 Thread Sandro Tosi
mmand and it worked. > For doing the interactive adjustment, you will want to use a smaller figure > dpi, something to match your screen.  Everything will scale correctly when > you save the figure at higher dpi. luckily, even at dpi=300, the image still fits my screen :) Cheers, -- Sand

Re: [Matplotlib-users] Plotting None value with dates goes in "maximum recursion depth exceeded"?

2009-02-11 Thread Sandro Tosi
On Wed, Feb 11, 2009 at 20:13, Ryan May wrote: > On Wed, Feb 11, 2009 at 12:56 PM, Sandro Tosi wrote: >> >> Hello, >> I got a script (attached, even if without the datafile has less >> meaning) that parses a log file and plots 3 datasets. With 0.98.5.3 I >&g

[Matplotlib-users] Plotting None value with dates goes in "maximum recursion depth exceeded"?

2009-02-11 Thread Sandro Tosi
.5/site-packages/matplotlib/units.py", line 130, in get_converter if converter is None and iterable(x): RuntimeError: maximum recursion depth exceeded I see the same behavior in .2 but not in 0.98.5. I remembered I've copied this from an example in mpl doc, but that's all. Is that

Re: [Matplotlib-users] release candidate

2009-02-09 Thread Sandro Tosi
e I'll due in few hours/days); if needed I can provided the (long) build log :) Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi --

Re: [Matplotlib-users] datetutil issues

2009-02-02 Thread Sandro Tosi
oo, from your error) and then dateutils. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- This SF.net email is spon

Re: [Matplotlib-users] datetutil issues

2009-02-02 Thread Sandro Tosi
til.parser >>> dateutil.__version__ '1.4.1' >>> date = '2009-01-11 03:55:23.255000' >>> d = dateutil.parser.parse(date) >>> d datetime.datetime(2009, 1, 11, 3, 55, 23, 255000) Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My we

Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?

2009-02-01 Thread Sandro Tosi
quot;A cookbook of Numerical simulations of classic > physics/engineering problems". For use by physicists/engineers who > don't want to rewrite things from scratch. As said, even if my degree is in linear algebra

Re: [Matplotlib-users] ImportError: No module named pyplot

2009-01-21 Thread Sandro Tosi
version (not 8.10 I think) and there there are newer binary packages too[2]. [1] https://launchpad.net/ubuntu/+source/matplotlib [2] http://packages.ubuntu.com/search?keywords=python-matplotlib Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.alte

Re: [Matplotlib-users] ImportError: No module named pyplot

2009-01-21 Thread Sandro Tosi
(most recent call last): > File "", line 1, in > ImportError: No module named plot here you wrote "plot" not "pyplot": might this be the problem? Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My websit

Re: [Matplotlib-users] Zip Archive for the gallery plot

2009-01-20 Thread Sandro Tosi
7;re using Debian (or a Debian-derived distribution) the images, along with all the documentations distributed (see it like the website) is available in the package python-matplotlib-doc (actually in experimental). Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrix

Re: [Matplotlib-users] [matplotlib-devel] Matplotlib 0.98.5.2 - Debian packages available (source + amd64)

2009-01-14 Thread Sandro Tosi
On Wed, Jan 14, 2009 at 18:22, John Hunter wrote: > On Wed, Jan 14, 2009 at 10:26 AM, Sandro Tosi wrote: >> I was wondering that, for the time being, I could upload to >> experimental: developers, do you have any plan to release .3 soon? If >> not, and upload to our "ex

Re: [Matplotlib-users] [matplotlib-devel] Matplotlib 0.98.5.2 - Debian packages available (source + amd64)

2009-01-14 Thread Sandro Tosi
On Wed, Jan 14, 2009 at 14:14, John Travers wrote: > On Wed, Jan 14, 2009 at 8:10 AM, Sandro Tosi wrote: >> Hi all, >> due to some requests came lately, I decided to upload the "temp" >> Debian package for 0.98.5.2. >> >> They are available at [1]. &g

[Matplotlib-users] Matplotlib 0.98.5.2 - Debian packages available (source + amd64)

2009-01-14 Thread Sandro Tosi
delines" above are not complete, as it can't be in this email; in case of problem, reply to the lists, so other can leverage the replies. Cheers, Sandro [1] http://people.debian.org/~morph/ -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.alt

Re: [Matplotlib-users] building from source

2009-01-13 Thread Sandro Tosi
svn://svn.debian.org/svn/python-modules/packages/matplotlib/trunk/debian Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-13 Thread Sandro Tosi
row, and then I'll post the location on the list. They will be for Debian Sid, so they might not work "out of the box" and you might need to get other packages from Debian and install into Ubuntu. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My we

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Sandro Tosi
y uber-fast introduction to deb building :) ). Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- This SF.net email is spo

Re: [Matplotlib-users] Problem with pyplot under Linux Ubuntu Intrepid

2009-01-12 Thread Sandro Tosi
sing system (?) library > and not to MPL or any of the backends. yes, it would help. because relinking to new lib will fix those broken links. Let us know any progress. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixha

Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?

2009-01-05 Thread Sandro Tosi
On Tue, Jan 6, 2009 at 01:48, Christopher Barker wrote: > Sandro Tosi wrote: >> >> So you suggest to start from matplotlib.pyplot and not from pylab? > > actually, I think matpoltlib.pyplot still has all of pylab in it, just not > all of numpy also. yes, pylab glues p

Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?

2009-01-05 Thread Sandro Tosi
On Tue, Jan 6, 2009 at 00:20, Christopher Barker wrote: > Sandro Tosi wrote: >> >> The idea of the book is to start with simple plots, describing the >> methods we call and how they work, to go into more details along the >> book. > > I suggest that you focus on

Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?

2009-01-05 Thread Sandro Tosi
Hello Russell, thanks for getting back to me On Mon, Jan 5, 2009 at 20:29, Russell E. Owen wrote: > In article > <8b2d7b4d0901050152p4c7487a8m21fb7fb823297...@mail.gmail.com>, > "Sandro Tosi" wrote: >> - what are you using matplotlib for? > > Plotting data

Re: [Matplotlib-users] [matplotlib-devel] What would you like to see in a book about Matplotlib?

2009-01-05 Thread Sandro Tosi
welcome!! > You may also want to speak with John Hunter and Fernando Perez about the > possibility of collaborating -- they've already done some work towards a > book, too. I'm sure be happy to hear their voice on this product, but (given the preamble) I don't know if the ed

Re: [Matplotlib-users] What would you like to see in a book about Matplotlib?

2009-01-05 Thread Sandro Tosi
Hello João, thanks for replying On Mon, Jan 5, 2009 at 13:40, João Luís Silva wrote: > Sandro Tosi wrote: >> - what are the (basic) things that, when you were beginning to use >> matplotlib, you wanted to see grouped up but couldn't find? > > I don't know if you

[Matplotlib-users] What would you like to see in a book about Matplotlib?

2009-01-05 Thread Sandro Tosi
what would you like to see in a book about matplotlib? - what are some those advanced feature that made you yell "WOW!!" ? - what are the things you'd like to explore of matplotlib and never had time to do? Your suggestions are really appreciated :) And wish me good luck! Chee

  1   2   >