2010/1/25 Nicolas Rougier :
>
>
> Hello,
>
> This is an update about glumpy, a fast-OpenGL based numpy visualization.
> I modified the code such that the only dependencies are PyOpenGL and
> IPython (for interactive sessions). You will also need matplotlib and
> scipy for some demos.
>
> Sources: h
Hi all,
sorry, only reporting, no bugfix. I just discovered that an empty plot
with drawstyle 'steps', 'steps-pre', 'steps-mid' and 'steps-post' fails.
I am using matplotlib 0.98.5.2.
Example
plot([], [], drawstyle = 'steps')
...
C:\Python25\lib\site-packages\matplotlib\lines.pyc in
_draw_st
I found that in scatter plots the alpha values given by individual
entries in the color list are ignored. Here an example that shows
different combinations of color and alpha arguments:
x = [1,2,3]
y = array([1,1,1])
c = [[1,0,0, 0.0],
[1,0,0, 0.5],
[1,0,0, 1.0]]
scatter(x, y, s = 200
2008/12/2 Darren Dale <[EMAIL PROTECTED]>
>
>
> On Tue, Dec 2, 2008 at 10:41 AM, John Hunter <[EMAIL PROTECTED]> wrote:
>
>> On Tue, Dec 2, 2008 at 8:34 AM, Gregor Thalhammer
>> <[EMAIL PROTECTED]> wrote:
>>
>> > If a mouse button is presse
>
> Can you update, repatch wx to use it (and Darren qt)?
>
I attached a patch that emits a enter_notify_event if the mouse enters the
figure. Now the example behaves correctly.
Gregor
Index: backend_wx.py
===
--- backend_wx.py (Revi
John Hunter schrieb:
I recently added support for a figure/axes enter/leave event. The
figure enter and axes enter/leave are easy to do with nothing new in
the backends, just using the native mpl events. The figure leave
event is harder, because when a user leaves a figure and activates
another
[EMAIL PROTECTED] schrieb:
> Dear all,
>
> after looking around for a plotting library I found Matplotlib and I tried to
> create a gray scale image in a wxpython application. Looks good!
>
> Now I have to find a line in the image with mainly vertical orientation. To
> do this a crosshair cursor
Paul Ivanov schrieb:
> Hi,
>
> I'm a big fan of keyboard shortcuts, so I decided to add these guys to
> lib/matplotlib/backend_bases.py
>
> I'm not sure if this is too much, and maybe these should be configurable
> down the line, but here's my first stab at it, what do you all think?
>
> in
Dear developers,
the following example shows a somewhat unexpected behaviour of the
get_xlim() method of an axis object: it returns a view to the internal
data structure used to store the data limits. Because of this saving and
restoring the data limits failed in this example (I am using matplo
Dear developers,
in matplotlib 0.98.3 I discoverd that in scatter individual alpha
settings (by giving a list of rgba values) are ignered. Here an example
that show this behaviour: All points show the same alpha value as given
by the alpha keyword argument. (Omitting it equals to the setting al
John Hunter schrieb:
>> Second, I am using interactive mode and WXAgg in windows. So my startup
>> script does this:
>> import matplotlib as _mpl
>> _mpl.use('WXAgg')
>> import pylab as _p
>> _p.ion()
>> Before, when I would then type
>> gca().plot([1,2,1])
>>
>
> I would not expect a draw her
John Hunter schrieb:
> On Mon, Jun 9, 2008 at 10:18 AM,
>
>
>> I attached a patch against the current svn version that adds a 'resample'
>> argument to imshow. Additionally, this patch supports a 'image.resample'
>> entry in the rc file. Setting this to false (default), the behaviour is
>> uncha
supports a
'image.resample' entry in the rc file. Setting this to false (default),
the behaviour is unchanged.
I also attached a simple test script (test_imshow.py) to show the
difference between image display with and without resampling. To see the
difference it might be necessary t
John Hunter schrieb:
> On Tue, May 6, 2008 at 8:49 AM, Gregor Thalhammer
> <[EMAIL PROTECTED]> wrote:
>
>
>> I also discovered this behaviour. It seems to be a Windows only specific
>> behaviour that only affects the bitmaps of the disabled (or grayed out)
&g
Chris Barker schrieb:
Hi all,
I usually use MPL embedded in wx, so I haven't noticed these before
but with the pylab window:
1) A couple icons seem to be missing. See screenshot enclosed.
I also discovered this behaviour. It seems to be a Windows only specific
behaviour that only affects the
Hi Christopher,
thanks for your valueable feedback. I am proceeding slowly, but steadily.
>
> > backend_qtagg.py seems to contain a proper (more or
>> less, see other postings of Ted Drain) implementation of double
>> buffered drawing that avoids unnecessary rerendering of the bitmap.
>
> It stil
Here I attached diff files of my changes, compared to matplotlib-0.91.2
release.
Gregor Thalhammer
--- Kopie von backend_wx.py Mon Mar 31 10:28:22 2008
+++ backend_wx.py Sun Apr 6 10:23:09 2008
@@ -752,11 +752,14 @@
self._isRealized = False
self._isConfigured
imilar to the QtAgg backend, but (for the moment) I wanted to try
only simple changes. Anyhow, the Wx backend seems to be in some
aspects outdated (uses old style wx methods, e.g. ToolBar.AddTool) and
is even not fully functional (image support missing). What are the
plans for the future?
Dear developers,
I discovered that in backend_wx.py in _onPaint(), the callback function
for repainting a matplotlib figure, every time a repaint is done also
the bitmap is rerendered:
backend_wx.py/_onPaint():
...
# Render to the bitmap
self.draw(repaint=False)
...
This also affects the behav
filling, eps doesn't support this. Creating a high resolution png and
downscaling improves the result, but this is tedious and time consuming. Any
help is appreciated!
Thanks in advance
Gregor Thalhammer
PS. Is this the right place to discuss such problems?
20 matches
Mail list logo