Re: [Matplotlib-users] Is it planned to add copy/paste curves possibility in matplotlib ?

2014-12-12 Thread Julien Hillairet
OK, thanks for your answer. I've opened a issue in Matplotlib's github. Regards, Julien 2014-12-11 17:48 GMT+01:00 Thomas Caswell : > > glue does a lot of fancy interactive stuff, they might have something like > that. > > From a reproducible computing PoV that fu

[Matplotlib-users] Is it planned to add copy/paste curves possibility in matplotlib ?

2014-12-11 Thread Julien Hillairet
think, a killing feature for many beginners/average users who used to work with matlab (oups, I've said it). Best regards, Julien -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate!

Re: [Matplotlib-users] savefig and StringIO error on Python3

2014-11-02 Thread Julien Hillairet
embed images take a look at this Wikipedia page for some helpful information > http://en.wikipedia.org/wiki/Data_URI_scheme > > Apologies if you were expecting a more detailed answer, > Scott > > > On Nov 1, 2014, at 4:37 PM, Julien Hillairet > wrote: > > > Indeed, it works al

Re: [Matplotlib-users] savefig and StringIO error on Python3

2014-11-01 Thread Julien Hillairet
ue()).decode()) > > > For python 2.7.8 change html =""" to > > html = """ > > """ % base64.encodestring(sio.getvalue()) > > Best regards, > Scott > > > On Nov 1, 2014, at 7:37 AM, Julien Hillairet > wrote: > &g

Re: [Matplotlib-users] savefig and StringIO error on Python3

2014-11-01 Thread Julien Hillairet
t; import base64 > > fig = plt.figure() > ax = fig.add_subplot(111) > ax.plot([1,2,3]) > > sio = BytesIO() > > fig.savefig(sio, format="png") > > html = """ > > """.format(base64.encodebytes(sio.getvalue()).decode()) > > > Fo

[Matplotlib-users] savefig and StringIO error on Python3

2014-11-01 Thread Julien Hillairet
ected, got 'bytes' when on fig.savefig(sio, format="png") Could someone explain me how to do it ? Best regards, Julien import matplotlib.pyplot as plt from io import StringIO fig = plt.figure() ax = fig.add_subplot(111

Re: [Matplotlib-users] Problem setting clim for subplots

2013-06-07 Thread Julien Cornebise
Thans a lot Eric for the fast and detailed answer! On Thu, Jun 6, 2013 at 9:24 PM, Eric Firing wrote: > On 2013/06/06 2:08 AM, Julien Cornebise wrote: > > Dear all > > > > I am puzzled: in the following code, when I call clim() *after* having > > created 3 subplots,

[Matplotlib-users] Problem setting clim for subplots

2013-06-06 Thread Julien Cornebise
Dear all I am puzzled: in the following code, when I call clim() *after* having created 3 subplots, only the last subplot takes the new limits into account. All other subplots ignore it. Xlim(), on the countrary, works as intended. Everything works fine when I set the clim() at creation time. Am

Re: [Matplotlib-users] core dumped using NavigationToolbar with PySide

2012-07-15 Thread julien . parc
() qcursor = QCursor() qcursor.setShape(cursord[cursor]) QApplication.setOverrideCursor( qcursor ) - Mail original - De: "julien parc" À: matplotlib-users@lists.sourceforge.net Envoyé: Dimanche 15 Juillet 2012 12:07:33 Objet: [Matplotlib-users] core du

[Matplotlib-users] core dumped using NavigationToolbar with PySide

2012-07-15 Thread julien . parc
7;__main__': app = QApplication(sys.argv) m = Main() m.show() app.exec_() It may be relative to a mousemoveent, as it does not crash until I move the mouse on the window. Julien Pages BTW: thanks

[Matplotlib-users] any way of having something like pcolorfast results with log scale ?

2012-06-25 Thread julien tayon
it is only for fun, and I don't want to invest myself too much my question is really did I missed something while googling for an easy solution and if so, what are the good keywords? Cheers -- Julien -- Live Sec

Re: [Matplotlib-users] See influence of code-change in realtime

2012-06-18 Thread julien tayon
> Hi, > > I have a question: Is there a way with matplotlib to see influence of > code changes on the plot without explicitly recompiling? > Hello Using bpython is a nice trick to achieve this : Bootstrap in bpython : http://bpaste.net/show/31823/ once sastified either F8 to share, or Ctrl+S to

Re: [Matplotlib-users] Documentation

2012-05-02 Thread julien tayon
neither a dependancy in Freebsd ports Path: /usr/ports/math/py-matplotlib Info: A plotting library uses a syntax familiar to matlab users Maint: mainl...@apeiron.net B-deps: atk-2.0.1 binutils-2.22_1 bitstream-vera-1.10_5 blas-3.4.0 cairo-1.10.2_3,1 compositeproto-0.4.2 cups-client-1.5.2_1 da

Re: [Matplotlib-users] Matplotlib and Cpp

2012-04-28 Thread julien tayon
First cpp stands for C Pre Processor, this tool usually does macro substitution in c, objective c, c++. Hence Cpp in the object is pretty much confusing when it seems to be talking about C++. 2012/4/27 Benjamin Root : > > > On Fri, Apr 13, 2012 at 4:24 PM, Ignas Anikevicius > wrote: >> >> Dear a

Re: [Matplotlib-users] [Bug] : yaxis presentation going wrong if ymin/ymax < .000x (x~ 5)

2012-04-24 Thread julien tayon
Hello 2012/4/24 Eric Firing : > On Tue, Apr 24, 2012 at 12:21 AM, Tony Yu wrote: >> On Mon, Apr 23, 2012 at 5:09 AM, jul tayon wrote: >>> Hello list >>> Exected Result : >>> https://github.com/jul/pypi-stat/blob/master/why.png >>> >> Sorry, I'm not clear on what the bug is. Is the picture you li

[Matplotlib-users] [bug] triggering a quite unreadable yaxis labelling

2012-04-23 Thread julien tayon
Hello list matplotlib website says this mailing is the prefered way to report bug, so here I am : System : python ; 2.7.2+ matplotlib 1.1.0 ubuntu TLS amd64 matplotlib Backend : TkAgg How to reproduce (on my pf) Code Snippet : ##CODE import matplotlib import matplotlib.pyplot as p import

Re: [Matplotlib-users] Strange behaviour of scatter with single-column 2D array

2012-03-20 Thread Julien Rebetez
showing an error or a warning would be much more appropriate than showing a plot. It would let the user know that the problem is not with her dataset, but with the plot. Wouldn't it be possible to simply check the shape in scatter() and display a warning if it has more than one dimension ? B

[Matplotlib-users] Strange behaviour of scatter with single-column 2D array

2012-03-20 Thread Julien Rebetez
atrix. In the case of an array, a 1D array is returned, in the case of a matrix, a 2D Nx1 matrix is returned. Using this matrix seems to confuse matplotlib. Using np.ravel or np.flatten on the slices fix that problem. Is there an explanation for this behaviour or should I fill a bug ? Best re

[Matplotlib-users] Histogramme bug report

2010-03-30 Thread Julien
get a probleme here? Thanks for reading me Julien -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel p