Re: [Matplotlib-users] Interactive mode broken in Qt4Agg backend?

2013-01-09 Thread Yannick Copin
Hi, Yannick Copin writes: > Is it a bug in Qt4Agg, or an unimplemented feature? Is there any way > other than switching back to GTKAgg specifically? just a follow-up and conclusion: I create a matplotlib issue for this (https://github.com/matplotlib/matplotlib/issues/1646), and the

[Matplotlib-users] Interactive mode broken in Qt4Agg backend?

2012-12-19 Thread Yannick Copin
Hi, I used to make animated figures generated with scripts similar to the one attached. It works fine with GTKAgg backend, but does not work with QT4Agg one: the figure just flashes at the end of the animation! Is it a bug in Qt4Agg, or an unimplemented feature? Is there any way other than s

Re: [Matplotlib-users] HSL image (?)

2012-07-17 Thread Yannick Copin
On 07/17/2012 03:32 PM, Benjamin Root wrote: > Short question: is there any (simple) way to generate "spectral" images > such as the ones in http://astro.u-strasbg.fr/~koppen/discharge/ > ? I have a 1st version of what I had in mind: ht

[Matplotlib-users] HSL image (?)

2012-07-17 Thread Yannick Copin
e.g. come from the standard "spectral" cmap (that's what I think I understood of the problem, but maybe what I said is just nonsense...). How should I proceed? Cheers, -- .~. Yannick COPIN (o:>* Doctus cum libro /V\ Institut de physique nucleaire de Lyon (IN2P3 -

[Matplotlib-users] Unicode greek letters

2011-11-22 Thread Yannick Copin
e characters... Is there any hope to use unicode greek characters? Cheers, -- .~. Yannick COPIN (o:>* Doctus cum libro /V\ Institut de physique nucléaire de Lyon // \\ Université de Lyon - CNRS-IN2P3 /( )\ AIM: YnCo

Re: [Matplotlib-users] Taylor diagram

2010-12-27 Thread Yannick Copin
Hi, mdekauwe wrote: > > Has anyone ever managed to draw a taylor diagram in Matplotlib? For > example like this > > http://www.mathworks.com/matlabcentral/fx_files/20559/2/taylordiag_fig.jpg > here is my try [ http://old.nabble.com/file/p30540085/taylorDiagram.py taylorDiagram.py ] using mat

Re: [Matplotlib-users] introducing mpl_toolkits.gridspec

2010-05-12 Thread Yannick Copin
Hi, Jae-Joon Lee writes: > gridspec is a module that implements matplotlib’s Subplot slightly > differently. Current matplotlib’s Subplot only allows a Subplot to > occupy a single cell of the n x m grid. gridspec enables a Subplot to > occupy multiple cells. Very interesting indeed. If I may

[Matplotlib-users] hist(x,bins) is not properly autoscaled in y

2010-02-23 Thread Yannick Copin
', ec='g') show() Note that the y-axis is not properly autoscaled to handle the 2nd histogram. Could this be a regression after correction of Debian Bug #503148 ? (see http://www.mail-archive.com/matplotlib-de...@lists.sourceforge.net/msg04020.html) Cheers, -- .~.

Re: [Matplotlib-users] Sankey diagram

2010-02-10 Thread Yannick Copin
COPIN (o:>* Doctus cum libro /V\ Institut de physique nucleaire de Lyon (IN2P3 - France) // \\ Tel: (33/0) 472 431 968 AIM: YnCopin ICQ: 236931013 /( )\ http://snovae.in2p3.fr/ycopin/ ^`~'^ #!/usr/bin/env python __author__ = "Yannick Copin " __version__ = &

[Matplotlib-users] Sankey diagram

2010-02-09 Thread Yannick Copin
Hi List, I made a script to draw very simple (single-direction single-input single-sided single-everything) Sankey diagrams (attached). I think I could share, if it can be of any use... Cheers, Yannick #!/usr/bin/env python # Time-stamp: <2010-02-10 01:49:08 ycopin> import numpy as N import

Re: [Matplotlib-users] Size of ellipses in EllipseCollection

2010-02-02 Thread Yannick Copin
its='data'" in EllipseCollection... Cheers, -- .~. Yannick COPIN (o:>* Doctus cum libro /V\ Institut de physique nucleaire de Lyon (IN2P3 - France) // \\ Tel: (33/0) 472 431 968 AIM: Y

[Matplotlib-users] Size of ellipses in EllipseCollection

2010-02-01 Thread Yannick Copin
es (expressed in data units) appears incorrect, and depends furthermore of the aspect ratio of the figure (try pan/zoom or resize the interactive window). I naively thought the two approaches should give the same result... Did I miss something in the way to use EllipseCollections? Chee

[Matplotlib-users] How to change tick labels?

2010-01-27 Thread Yannick Copin
for lbl in ax.get_xticklabels() ] returns ['', '', '', '', '', '', ''] It seems the tick text strings are filled in only at the very last moment (at show() time?). Any help out there? Cheers, -- .~. Yannick COPIN (o:>*

[Matplotlib-users] Regression in scatter plot?

2009-12-10 Thread Yannick Copin
ueError: Color array must be two-dimensional So my question is: is the documentation just outdated, or is it a regression in scatter? Cheers, -- .~. Yannick COPIN (o:>* Doctus cum libro /V\ Institut de physique nucléaire de Lyon // \\ Université de Lyon - CNRS-IN2P3 /(

[Matplotlib-users] Error in mpl.axes.set_default_color_cycle

2009-05-29 Thread Yannick Copin
has no attribute 'lower' I'm using matplotlib 0.98.3 but I checked on the SVN repository that the offending lines ("rcParams['lines.color'] = clist[0]","if s.lower() == 'none'") are still there. Cheers. -- .~. Yannic

Re: [Matplotlib-users] subplot

2009-05-18 Thread Yannick Copin
Alan G Isaac writes: > On 5/18/2009 4:27 PM Yannick Copin apparently wrote: > > super-mongo WINDOW command (e.g. > > http://www.astro.princeton.edu/~rhl/sm/sm.html#SYN83) > > The functionality is good, > but the syntax is awful. It might not be crystal clear indeed at

Re: [Matplotlib-users] subplot

2009-05-18 Thread Yannick Copin
Hi, Jae-Joon Lee writes: > I had a few off-list conversation with Alan, and I'm also quite agree > with him for this issue. [...] > issue 2) It is not easy (actually impossible) to make an axes > spanning multiple cells. Regarding this 2nd issue, I appreciated long ago the flexibility and ease

[Matplotlib-users] Bugs in twinx

2009-04-07 Thread Yannick Copin
milogx. The twinx axis (ax4) is linear by default and does not inherit the log scale from the parent axis (ax3). This is with matplotlib 0.98.3 on Ubuntu 8.10. Maybe these bugs have been corrected in more recent versions... Cheers. -- .~. Yannick COPIN (o:>* Doctu

Re: [Matplotlib-users] pylab or not... crashes or not

2008-12-02 Thread Yannick Copin
of corner case deadlocks."). I'm now using 0.8.4 and I don't remember I ever had this pb again. See you! (and congrats ;-) ) -- .~. Yannick COPIN (o:>* Doctus cum libro /V\ Institut de physique nucleaire de Lyon (IN2P3 - France) // \\ Tel: (33/0) 472

[Matplotlib-users] LineCollection instance has no attribute 'get_lines'

2008-07-02 Thread Yannick Copin
). Can someone tell me what is the actual situation? Cheers. -- .~. Yannick COPIN (o:>* Doctus cum libro /V\ Institut de physique nucleaire de Lyon (IN2P3 - France) // \\ Tel: (33/0) 472 431 968 AIM: YnCopin ICQ: 236931013 /( )\ http://snovae.in2p3.fr/yco

Re: [Matplotlib-users] Square/Circle markers with transparent, faces?

2007-03-16 Thread Yannick Copin
n old thread, http://thread.gmane.org/gmane.comp.python.matplotlib.general/7842, but I'd like to know if there was any news about that?) Cheers. -- .~. Yannick COPIN (o:>* Doctus cum libro /V\ Institut de physique nucleaire de Lyon (IN2P3 - France) // \\ Te

[Matplotlib-users] Automatic minor ticks

2007-03-05 Thread Yannick Copin
omagically coherent with the automated major ticks? Cheers. -- .~. Yannick COPIN (o:>* Doctus cum libro /V\ Institut de physique nucleaire de Lyon (IN2P3 - France) // \\ Tel: (33/0) 472 431 968 AIM: YnCopin ICQ: 236931013 /( )\ http://snovae.in

[Matplotlib-users] Minor ticks by default

2007-02-09 Thread Yannick Copin
, but I would like them to be displayed automatically with default locations "as smart as" major tick locations (i.e. not overpacked or underpacked). Cheers. -- / \ ,, _._ _ |oo| _ / \__/ \ _ ((/ () \)) / \ Yannick COPIN (o:>*

Re: [Matplotlib-users] bar charts (Margherita Vittone wiersma)

2007-01-26 Thread Yannick Copin
y? E.g. x,y = arange(5),randn(5) bar(x,y, align='center') for i in range(5): text(x[i],y[i],'%f' % y[i], horizontalalignment='center') Cheers. -- / \ ,, _._ _ |oo| _ / \__/ \ _|||| ((/ () \)) / \ Yannick COPIN (o:>*

[Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread Yannick Copin
e.php?msg_id=11876753, but there was no answer it seems... -- / \ ,, _._ _ |oo| _ / \__/ \ _ ((/ () \)) / \ Yannick COPIN (o:>* Doctus cum libro |/| ( )|oo| Institut de physique nucleaire de Lyon \/ _`\ /

[Matplotlib-users] OverflowError while plotting dates

2006-12-11 Thread Yannick Copin
imezone() 153 ix = int(x) --> 154 dt = datetime.datetime.fromordinal(ix) 155 remainder = float(x) - ix 156 hour, remainder = divmod(24*remainder, 1) ValueError: ordinal must be >= 1 First valid date number is indeed 1, but this corresponds to 0001-01-01 00:00

[Matplotlib-users] Sourceforge archives display [Was: two y axes via twinx and legends]

2006-12-11 Thread Yannick Copin
inux. I let sourceforge know about that (http://sourceforge.net/tracker/?func=detail&aid=1613041&group_id=1&atid=21). Maybe you can add comments to that issue. Cheers. -- / \ ,, _._ _ |oo| _ / \__/ \ _ ((/ () \)) / \ Yannick COPIN (o:>*

Re: [Matplotlib-users] Merge colorbars from imshow and contour

2006-12-11 Thread Yannick Copin
.min(),Z.max(),11)[1:-1] im = imshow(Z, extent=[-3,3,-3,3]) cl = contour(X,Y,Z, lev, colors='k') cb = colorbar(im) cb.add_lines(cl) Cheers. -- / \ ,, _._ _ |oo| _ / \__/ \ _ ((/ () \)) / \ Yannick COPIN (o:>* Doctus cum libro

Re: [Matplotlib-users] Different contours in contour and contourf

2006-12-11 Thread Yannick Copin
will occur > almost entirely in pathologically ambiguous cases, but it is also Not necessarily pathological cases, just noisy data :-/ (I agree my randn-based example was a bit extreme!) Cheers. -- / \ ,, _._ _ |oo| _ / \__/ \ _ ((/ () \)) / \ Yanni

[Matplotlib-users] Different contours in contour and contourf

2006-12-08 Thread Yannick Copin
e that the 'contourf' contours are not always exactly the sames as the 'contour' contours. Why is it so? Don't contour and contourf use the same contour constructor? Cheers. -- / \ ,, _._ _ |oo| _ / \__/ \ _ ((/ () \)) /

[Matplotlib-users] Merge colorbars from imshow and contour

2006-12-08 Thread Yannick Copin
. -- / \ ,, _._ _ |oo| _ / \__/ \ _ ((/ () \)) / \ Yannick COPIN (o:>* Doctus cum libro |/| ( )|oo| Institut de physique nucleaire de Lyon \/ _`\ /'_/ \(IN2P3

[Matplotlib-users] axhspan with data-coord in x

2006-11-08 Thread Yannick Copin
. Or should I directly draw a rectangle? (but how to?) Cheers. -- / \ ,, _._ _ |oo| _ / \__/ \ _ ((/ () \)) / \ Yannick COPIN (o:>* Doctus cum libro |/| ( )|oo| Institut de physique nucleaire

[Matplotlib-users] Merging subplots (Was: Re: subplot(1, 1, [...]) and pprint_getters)

2006-10-13 Thread Yannick Copin
3,[1,2]) for: +---+-+ | | | +---+-+ or any more complex layout? (maybe someone remember there was such a functionnality under SuperMongo! see http://www.astro.princeton.edu/~rhl/sm/sm.html#SYN83) Cheers. -- / \ , , _._ _ |oo| _ / \__/ \ _ ((/ () \))

Re: [Matplotlib-users] Default dpi for savefig

2006-09-13 Thread Yannick Copin
oto.png') in the script or exporting it from the window is equivalent. I dont't know if this happens w/ other 'GUI' backends. Cheers. -- / \ ,, _._ _ |oo| _ / \__/ \ _ ((/ () \)) / \ Yannick COPIN (o:>* Doctus cum libro |/| ( )|oo| Institut d

[Matplotlib-users] Plot dates and julian dates on the same figure

2006-08-10 Thread Yannick Copin
_ |oo| _ / \__/ \ _ ((/ () \)) / \ Yannick COPIN (o:>* Doctus cum libro |/| ( )|oo| Institut de physique nucleaire de Lyon \/ _`\ /'_/ \(IN2P3 - France) / /.-' /\<>/\ `\.( ()

[Matplotlib-users] Plot with linestyle='hsteps' and 'fsteps'

2006-07-06 Thread Yannick Copin
] = correlate(x, [0.5,0.5]) xx[0] = 2*x[0] - xx[1] xx[-1] = 2*x[-1] - xx[-2] yy = empty(len(x)+1, dtype=x.dtype) yy[:-1] = y yy[-1] = y[-1] plot(xx, yy, ls='steps', label='hsteps') legend(loc='best') show() Cheers. -- / \ ,, _._ _ |oo|