SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S





1
(9)
2
(2)
3
(2)
4
(1)
5
(14)
6
(3)
7
(1)
8
(3)
9
10
(7)
11
(4)
12
13
(11)
14
(1)
15
(2)
16
17
18
19
(3)
20
(2)
21
22
23
(1)
24
25
26
(1)
27
28
29

Showing 11 results of 11

From: Neil C. <nei...@gm...> - 2008年02月13日 16:26:19
I did. But there's no manual, and the 'under construction'
placeholders in the 'how do I?' and tutorial didn't give a great first
impression. I see now there's a link to some example code, but it's a
lot more intimidating than the matplotlib introductory stuff.
>
> Did you find http://code.enthought.com/chaco/ ?
>
> Not that we are trying to drive you away <wink>, we'd love to have you
> stay. As I mentioned in my earlier post, when we migrate to traits
> for matplotlib artist properties, we will get a pretty rich
> interactive UI configuration layer.
>
> JDH
>
From: Gael V. <gae...@no...> - 2008年02月13日 16:17:08
On Wed, Feb 13, 2008 at 11:04:13AM -0500, Paul Kienzle wrote:
> Is there anybody outside of enthought who are deploying applications
> based on TraitsUI for Windows/Mac/Linux? I would love to hear about 
> successful examples before committing to more dependencies in our own 
> applications.
I, in the lab. People at Airbus research labs (Bristol, UK), people at
Estimages (http://www.estimages.com/), people at jgeophysics, and quite a
few other researchers, for in house applications in labs (just have a
look at the enthought-dev mailing list. Airbus have actually paying a
former Enthought employee (Martin Chilvers) to develop Envisage3, and
have payed Phil Thompson (author of PyQT) to do the QT backend. This
backend is working now quite well as they are using it for their 
day-to-day work.
> A specific concern we had when investigating Traits a couple of
> years ago was long start up times.
I don't really think this has improved a lot. You would have to try it
out to see. However my experience is that if you are not loading Wx,
traits by itself is fast, if you are loading Wx, you are limited by the
cost of loading Wx. I may be wrong, as I have no hard numbers.
> The lack of clear boundaries between traits and other parts of
> enthought was a further concern, since it would make deployment more
> difficult.
That's pretty much solved. The Enthought Tool Suite has been split in
projects, each of them that can be further split in packages (just a look
at their SVN structure will tell you exactly how it is done:
https://svn.enthought.com/enthought/browser ).
Cheers,
Gaël
From: John H. <jd...@gm...> - 2008年02月13日 16:15:16
On Feb 13, 2008 10:04 AM, Paul Kienzle <pki...@ni...> wrote:
> On Wed, Feb 13, 2008 at 08:24:35AM -0600, John Hunter wrote:
> > As I mentioned in my earlier post, when we migrate to traits
> > for matplotlib artist properties, we will get a pretty rich
> > interactive UI configuration layer.
>
> Any sense of when this might happen?
There is no specific timeline, but Darren did a bunch of the hard work
getting a traits enabled rc configuration option (off by default) in
0.91.2. The plan is to turn get this turned on by default in the next
release of the trunk (0.98) so we can get as much pain in at once
rather than in doses. Since migrating apps to the trunk requires some
changes in the API (transformations, bounding boxes) already, this
would probably be a good time to migrate the rc configuration too.
> Is there anybody outside of enthought who are deploying applications
> based on TraitsUI for Windows/Mac/Linux? I would love to hear about
> successful examples before committing to more dependencies in our own
> applications.
Well, we are already installing enthought.traits and have not
experienced any significant user problems, so I don't think we will be
introducing a significant dependency here. This can be done so that
users who have a UI enabled traits will get the UI benefits and those
who don't will get the basic traits benefits minus the UI. So we
wouldn't need to depend on the UI components, and we have already
(mostly) solved the dependency problem on the non UI component (see
matplotlib/lib/enthought).
I say mostly because there is a problem that Gael first reported
recently that having our enthought traits installed ahead of
enthought's version can break some enthought apps, so we need to
address this. And yes, there are some startup time problems with a
namespace enabled version of enthought's packages that have caused
some concern.
> What's going to happen with Qt/Gtk/Tkinter backends? We are already
> using wx so this isn't an issue for us, but last time I looked TraitsUI
> only had wx support.
As far as I understand, there is a fully featured wx version and qt is
coming along nicely. Again, matplotlib would continue to work as
before with the other UI backends, your just wouldn't get the traits
dialogs.
> A specific concern we had when investigating Traits a couple of
> years ago was long start up times. The lack of clear boundaries
> between traits and other parts of enthought was a further concern,
> since it would make deployment more difficult.
This is getting much better, but it is still a work in progress.
traits is now in debian, for example.
JDH
From: Paul K. <pki...@ni...> - 2008年02月13日 16:04:23
On Wed, Feb 13, 2008 at 08:24:35AM -0600, John Hunter wrote:
> As I mentioned in my earlier post, when we migrate to traits
> for matplotlib artist properties, we will get a pretty rich
> interactive UI configuration layer.
Any sense of when this might happen?
Is there anybody outside of enthought who are deploying applications
based on TraitsUI for Windows/Mac/Linux? I would love to hear about 
successful examples before committing to more dependencies in our own 
applications.
What's going to happen with Qt/Gtk/Tkinter backends? We are already
using wx so this isn't an issue for us, but last time I looked TraitsUI 
only had wx support.
A specific concern we had when investigating Traits a couple of
years ago was long start up times. The lack of clear boundaries 
between traits and other parts of enthought was a further concern,
since it would make deployment more difficult.
- Paul
From: John H. <jd...@gm...> - 2008年02月13日 14:24:40
On Feb 13, 2008 8:05 AM, Neil Crighton <nei...@gm...> wrote:
> Another big difference between matplotlib and chaco: matplotlib has
> online documentation, examples and tutorials. I couldn't find any
> documentation on Chaco when I was looking around for a python plotting
> program. If I had, who knows, maybe I'd be using Chaco now instead of
> matplotlib :)
Did you find http://code.enthought.com/chaco/ ?
Not that we are trying to drive you away <wink>, we'd love to have you
stay. As I mentioned in my earlier post, when we migrate to traits
for matplotlib artist properties, we will get a pretty rich
interactive UI configuration layer.
JDH
From: Neil C. <nei...@gm...> - 2008年02月13日 14:05:11
Another big difference between matplotlib and chaco: matplotlib has
online documentation, examples and tutorials. I couldn't find any
documentation on Chaco when I was looking around for a python plotting
program. If I had, who knows, maybe I'd be using Chaco now instead of
matplotlib :)
From: John H. <jd...@gm...> - 2008年02月13日 13:51:08
On Feb 12, 2008 10:31 PM, Erik Tollerud <eri...@gm...> wrote:
> While doing some further testing, I'm getting another bug in the svn
> code - whenever I try to right-click and drag to zoom out when using
> the toolbar, an Exception is raised complaining about an unbound
> local. I traced the problem to what appears to be a typo in
> backend_bases.py where someone must have renamed some variables and
> didn't go and change them further up or something. Changing the
> variable name in a couple places seems to make it all work on my
> setup. The diff is attached.
Good catch -- applied to r4959.
Thanks,
JDH
From: Erik T. <eri...@gm...> - 2008年02月13日 05:46:42
Attachments: erikerrorbarfix.diff
After a little testing on the subversion repository, the attached diff
seems to work.
On Feb 10, 2008 12:12 AM, Erik Tollerud <eri...@gm...> wrote:
> I noticed while making some plots with upper bound error bars that
> whenever Axes.errorbars is called with any of the errorbars chosen as
> upper or lower bounds, that the color cycle was off, skipping over 2
> colors each time another errorbar plot was made (e.g. the first would
> be green and the second would be cyan instead of blue,green,red,cyan).
> Looking into the axes class, it appears that if you don't specify a
> color and want the markers to be drawn over the errorbars, the color
> cycle has already been skipped over one because of calls to draw the
> markers into the plot. The solution is to change all the lines that
> say " ls='None' " in the errorbar method to instead say " ls='k' " -
> this will prevent those calls from cycling the colors, and hence only
> the call to actually draw the markers will do so. Can this patch be
> committed to svn?
>
-- 
Erik Tollerud
Graduate Student
Center For Cosmology
Department of Physics and Astronomy
4155B Frederick Reines Hall
University of California, Irvine
Office Phone: (949)824-2996
Cell: (651)307-9409
eto...@uc...
From: Erik T. <eri...@gm...> - 2008年02月13日 04:31:30
Attachments: erikbackendbases.diff
While doing some further testing, I'm getting another bug in the svn
code - whenever I try to right-click and drag to zoom out when using
the toolbar, an Exception is raised complaining about an unbound
local. I traced the problem to what appears to be a typo in
backend_bases.py where someone must have renamed some variables and
didn't go and change them further up or something. Changing the
variable name in a couple places seems to make it all work on my
setup. The diff is attached.
On Feb 12, 2008 6:11 PM, John Hunter <jd...@gm...> wrote:
> On Feb 12, 2008 7:02 PM, Erik Tollerud <eto...@uc...> wrote:
> > You're absolutely correct - I wrote the original patch against 91.2,
> > and forgot to test it against the new trunk. Below is a new patch
> > that HAS been tested against the trunk version. It includes another
> > fix for some API changes in the Rectangle object. Note that there's
> > also a fix in the RectangleSelector to prevent it from raising an
> > exception under the new API.
>
> OK, thanks Erik, I committed this to the trunk as svn r4956. It seems
> to be working fine, so thanks for the patch. I'm not sure right now
> wha the problem is with useblit=False that you are experiencing, but
> if you make any headway on this let us know.
>
> JDH
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
-- 
Erik Tollerud
Graduate Student
Center For Cosmology
Department of Physics and Astronomy
4155B Frederick Reines Hall
University of California, Irvine
Office Phone: (949)824-2996
Cell: (651)307-9409
eto...@uc...
From: John H. <jd...@gm...> - 2008年02月13日 02:11:36
On Feb 12, 2008 7:02 PM, Erik Tollerud <eto...@uc...> wrote:
> You're absolutely correct - I wrote the original patch against 91.2,
> and forgot to test it against the new trunk. Below is a new patch
> that HAS been tested against the trunk version. It includes another
> fix for some API changes in the Rectangle object. Note that there's
> also a fix in the RectangleSelector to prevent it from raising an
> exception under the new API.
OK, thanks Erik, I committed this to the trunk as svn r4956. It seems
to be working fine, so thanks for the patch. I'm not sure right now
wha the problem is with useblit=False that you are experiencing, but
if you make any headway on this let us know.
JDH
From: Erik T. <eto...@uc...> - 2008年02月13日 01:02:52
Attachments: erikspansel3.diff
You're absolutely correct - I wrote the original patch against 91.2,
and forgot to test it against the new trunk. Below is a new patch
that HAS been tested against the trunk version. It includes another
fix for some API changes in the Rectangle object. Note that there's
also a fix in the RectangleSelector to prevent it from raising an
exception under the new API.
I've also noticed that both the SpanSelector and RectangleSelector
don't seem to draw the rectangle with useblit=False on my machine -
I'm only using useblit=True, though, and it works fine there with the
alterations in this patch.
Index: widgets.py
===================================================================
--- widgets.py	(revision 4953)
+++ widgets.py	(working copy)
@@ -827,16 +827,14 @@
 assert direction in ['horizontal', 'vertical'], 'Must choose
horizontal or vertical for direction'
 self.direction = direction
- self.ax = ax
+ self.ax = None
+ self.canvas = None
 self.visible = True
- self.canvas = ax.figure.canvas
- self.canvas.mpl_connect('motion_notify_event', self.onmove)
- self.canvas.mpl_connect('button_press_event', self.press)
- self.canvas.mpl_connect('button_release_event', self.release)
- self.canvas.mpl_connect('draw_event', self.update_background)
+ self.cids=[]
 self.rect = None
 self.background = None
+ self.pressv = None
 self.rectprops = rectprops
 self.onselect = onselect
@@ -847,8 +845,23 @@
 # Needed when dragging out of axes
 self.buttonDown = False
 self.prev = (0, 0)
-
- if self.direction == 'horizontal':
+
+ self.new_axes(ax)
+
+
+ def new_axes(self,ax):
+ self.ax = ax
+ if self.canvas is not ax.figure.canvas:
+ for cid in self.cids:
+ self.canvas.mpl_disconnect(cid)
+
+ self.canvas = ax.figure.canvas
+
+ self.cids.append(self.canvas.mpl_connect('motion_notify_event',
self.onmove))
+ self.cids.append(self.canvas.mpl_connect('button_press_event',
self.press))
+	 self.cids.append(self.canvas.mpl_connect('button_release_event',
self.release))
+	 self.cids.append(self.canvas.mpl_connect('draw_event',
self.update_background))
+	if self.direction == 'horizontal':
 trans = blended_transform_factory(self.ax.transData,
self.ax.transAxes)
 w,h = 0,1
 else:
@@ -859,9 +872,8 @@
 visible=False,
 **self.rectprops
 )
-
+
 if not self.useblit: self.ax.add_patch(self.rect)
- self.pressv = None
 def update_background(self, event):
 'force an update of the background'
@@ -931,10 +943,10 @@
 minv, maxv = v, self.pressv
 if minv>maxv: minv, maxv = maxv, minv
 if self.direction == 'horizontal':
- self.rect.xy[0] = minv
+ self.rect.set_x(minv)
 self.rect.set_width(maxv-minv)
 else:
- self.rect.xy[1] = minv
+ self.rect.set_y(minv)
 self.rect.set_height(maxv-minv)
 if self.onmove_callback is not None:
@@ -1155,8 +1167,8 @@
 miny, maxy = self.eventpress.ydata, y # click-y and actual mouse-y
 if minx>maxx: minx, maxx = maxx, minx # get them in the right order
 if miny>maxy: miny, maxy = maxy, miny
- self.to_draw.xy[0] = minx # set lower left of box
- self.to_draw.xy[1] = miny
+ self.to_draw.set_x(minx) # set lower left of box
+ self.to_draw.set_y(miny)
 self.to_draw.set_width(maxx-minx) # set width and height of box
 self.to_draw.set_height(maxy-miny)
 self.update()
On Feb 11, 2008 7:48 AM, John Hunter <jd...@gm...> wrote:
> On Feb 10, 2008 5:12 PM, Erik Tollerud <eri...@gm...> wrote:
> > I've been working on an application that uses matplotlib as its
> > plotting library, and I've been noticing a steady decrease in
>
> It looks like there is some confusion in your patch vis-a-vis the
> migration from the old matplotlib transformation architecture (no on a
> branch) to the new (now in the trunk). I'm attaching the migration
> document. For example, your patch removes
> blended_transform_factory lines (new transforms call on the trunk) and
> adds blend_xy_sep_transform lines (old transforms call on the 0.91
> maintenance branch).
>
> You can patch either the maintenance branch or the trunk or both, but
> I think the patch as submitted is a little mixed up if I am reading
> this correctly.
>
> JDH
>
-- 
Erik Tollerud
Graduate Student
Center For Cosmology
Department of Physics and Astronomy
4155B Frederick Reines Hall
University of California, Irvine
Office Phone: (949)824-2996
Cell: (651)307-9409
eto...@uc...

Showing 11 results of 11

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /