Hi
Attached is the the patch. It uses stringstream, so I don't know if
it will work on all platforms. I am not a windows person ;-)
I didn't read your email properly about the existence of "atoll", so
as I am a c++er I am a bit more comfortable with stringstream.
Cheers,
Malte.
_tkagg.c
Hi,
we were on the right track just the inverse. The number of argv[4] is
bigger then MAX_LONG on 32bit.
So what I did is:
unsigned long tmplong;
std::stringstream ss;
ss.str(argv[4]);
ss >> tmplong;
bboxo = (PyObject*)tmplong;
Now it works.
Also, I will change all other atol()'s to stringstr
I maybe asking a dumb question, forgive me I'm a novice. I try to add
a ylabel and the left portion of the signal name is cut off when it is
plotted. I can't seem to find the option for displaying the whole
signal. Or do I need to resize the plotting window?
Jon
-
Hi,
unfortunately 32-bit ;-) I tried digging around, but I don't know
much about tcl/tk. Seeing a char string argv atol'ed into a pointer
address left me with an uncomfortable feeling...
Anyway her is the argv value
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0
Hi,
I'm trying to insert a slider into my figure like the on in the example
slider_demo.py.
from the slider_demo i have:
axcolor = 'lightgoldenrodyellow'
axfreq = axes([0.25, 0.1, 0.65, 0.03])
sfreq = Slider(axfreq, 'Freq', 0.1, 30.0, valinit = f0)
i have a figure with an axes where i displayed
On Wed, May 14, 2008 at 11:41 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
> I haven't done anything with the record array stuff, so I'll leave this
> to another developer to look at.
Fixed in r5139. This was a consequence of moving the excel and gtk
imports out of mlab to improve load time
Thanks. These have been applied on the SVN trunk r5138. The problem
with legend_scatter.py was a type error created when edgecolors changed
to a Numpy array (which is optionally zero-length).
Matthias Michler wrote:
> - the function mlab.rec2excel does not exist anymore
> -> in matplotlib/mlab
Hello list,
It may not be very important, but I collected some small bugs while exploring
the examples and for some of them I got little patches.
- for me their occur two "typos" in matplotlib/text.py (see the attached
text.patch, please)
- some examples don't work for me (see attached some_e
Ouch! The way that pointer is obtained is really weird (though I
believe it is a common idiom in Tcl extensions):
PyAggImagePhoto(ClientData clientdata, Tcl_Interp* interp,
int argc, char **argv) {
...
bboxo = (PyObject*)atol(argv[4]);
if (bboxo != Py_None) {
Sorry -- I don't know where slider_demo.py lives and am not too familiar
with how the website is updated. Anyone?
Cheers,
Mike
Matthias Michler wrote:
> Hello list,
>
> On Wednesday 07 May 2008 19:08:23 Michael Droettboom wrote:
>
>> Matthias Michler wrote:
>>
>>> The second problem ari
Hello list,
On Wednesday 07 May 2008 19:08:23 Michael Droettboom wrote:
> Matthias Michler wrote:
> > The second problem arises only with latest svn.
> > At the end of the mail there's the Traceback, which arises after clicking
> > the radiobutton during running examples/widgets/radio_buttons.py.
Hello Markus,
On Saturday 10 May 2008 22:01:22 Markus Kuhn wrote:
> How can I extract from a figure or axes the data that it currently
> displays?
>
> I had hoped that something like
>
> from pylab import *
> plot([1,3,2])
> data = getp(gca(), 'data')
> xdata = getp(gca(), 'xdata')
> ydata = getp(
12 matches
Mail list logo