Bill, very cool. Also, thanks for showing me how Twisted can be used
like Pyro, more-or-less, I think. (If I understand your code from my 1
minute perusal.)
On Mac OS X, there's one issue I don't have time to follow any further:
sys.executable points to
/Library/Frameworks/Python.framework/Ve
Hello,
thanks for the quick reply to my last problem.
Here I've got a new one:
While the last bin carries the overshoot, the first bin does not carry the
undershoot.
Example:
from numpy import *
from pylab import *
bins = 2 + arange(21)
data = arange(24)
print bins
print data
hist(data,bins)
I ended up finding a solution to this by using a FixedLocator and
manually setting each of the tick
positions for both major and minor grids without overlap.
I'm not sure if this is the recommended way to do this, but hey, it worked ;-)
for tick in range(seconds+1)[1:]:
if tick %
Okay, removing the frame turns out to work like this.
ax=gca()
setp(ax, frame_on=False)
... but changing the complete color still stymies me... :-(
Setting the axes' frame edgecolor gives me a nice halo, but the black
border is still there...
axis_edgecolor = 'yellow'
f
Hello everybody,
when using matplotlib, any plot I create is displayed separately from my
Tkinter application. Is there a direct way to embed the plot created by
matplotlib in a widget such as a canvas using something like "create_image" or
something else ?
Currently, the only thing I managed
Hi, I have a memory problem.
I'm using: matplotlib-0.85, python 2.3.5, gtk 2.8.6 and pygtk 2.8.2.
I create a FigureCanvasGTKAgg with a subplot and I add one Line2D to this
subplot.
Then I add this FigureCanvas in a gtk.Window
When I destroy the gtk.Window (by the gtk method destroy),
the memo
On 3/15/07, Pellegrini Eric <[EMAIL PROTECTED]> wrote:
> Hello everybody,
>
> when using matplotlib, any plot I create is displayed separately from my
> Tkinter application. Is there a direct way to embed the plot created by
> matplotlib in a widget such as a canvas using something like "create_ima
Hi Peter,
this is also the behavior of the numpy histogram function. I personally
don't like it, but I think it's kept for compatibility's sake with Numeric.
You could use
def histogram(a, bins):
n = sort(a).searchsorted(bins)
n = concatenate([n, [len(a)]])
count = concatenate([[n[0]],
Hi folks,
I am working on a software package to manipulate spectra and bandpasses,
and I expect my users will use it hand in hand with the pylabe interface
of matplotlib in order to see the results of their manipulations.
It would be extremely useful if xlabel, ylabel, title, and possibly
lege
I have a problem that probably highlights a problem with how I
normally use mpl vs. how I should use it. I have some utility scripts
that do various data processing tasks and also have convenience
functions for plotting data using pylab. Almost all of my scripts
have a line like this near the top
On 3/15/07, Ryan Krauss <[EMAIL PROTECTED]> wrote:
> How should I be using matplotlib/pylab in my utility scripts so that
> they are compatible with embedding in wx?
A good rule of thumb is to never import pylab at the top level for
modules that need to be imported. In my own code, I often do
so
Hello,
I tried to use the boxplot_demo.py [1] as a base for doing my own
boxplot, but I couldn't :(
My data is here: http://www.bioinformatica.info/seba/toplot.txt.gz
The main problem I see is that the data in the sample is fake (random
generated) and I don't know how to put real data in it (as th
Thanks John. I know I have some clean up to do, I just want to do it
right so it isn't an annual (or more often) thing
On 3/15/07, John Hunter <[EMAIL PROTECTED]> wrote:
> On 3/15/07, Ryan Krauss <[EMAIL PROTECTED]> wrote:
>
> > How should I be using matplotlib/pylab in my utility scripts so
Sebastian Haase wrote:
> Hi!
> I use the wxPython PyShell.
> I like especially the feature that when typing a module and then the
> dot "." I get a popup list of all available functions (names) inside
> that module.
>
> Secondly, I think it really makes code clearer when one can see where
> a fun
14 matches
Mail list logo