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
2
(2)
3
(3)
4
(2)
5
(2)
6
(4)
7
(2)
8
(5)
9
(1)
10
(6)
11
(1)
12
(6)
13
(1)
14
15
16
(2)
17
(3)
18
(13)
19
(3)
20
(2)
21
22
(8)
23
(4)
24
(5)
25
(3)
26
(3)
27
(1)
28
(1)






Showing 2 results of 2

From: Ben A. <BAx...@co...> - 2010年02月25日 16:04:18
Hi Reinier,
I hope you had a nice holiday.
I am glad you like the patch and find it useful. Applying it over the weekend is fine with me.
- You are right that the CuboidCollection is not that necessary. In fact I used to have my histogram heuristic in the Poly3DCollection just as you describe. But while running through the examples before submitting the patch, I found that it broke the surface plots. So I refactored the code so that my changes only affected the bar3d plots, since this is the only thing I wrote code for and tested. 
My plan for the z-order sorting heuristic is to allow the user to choose the best one for his specific needs. (This is only needed until we have a more general purpose 3D engine as being discussed in another thread.) You can see that I split out the z-order sorting code into self-contained methods. They don't reference any 'self' members, so these methods don't even need to be in the Poly3DCollection class. It would be really nice if the user could pass in a function pointer for the heuristic parameter, in addition to 'average' and 'histogram'. That way, users could even write their own specialized heuristic and not need to modify the mplot3d source. 
I wanted to create a standard set of data for the parameter of the sorting heuristic function. You can see that _sort_polygons_avg() is the same algorithm as your original, except that I give the method, the x,y,z coords instead of just x and y. There is a little extra work to strip out the z data, but it allows the more advanced histogram heuristic function to take the same data. In fact, I have an idea for a slightly improved heuristic, but I would need to pass in the 'real world' XYZ coords, in addition to the 'screen' XYZ coords. There is a note about this in the code comments of _sort_polygons_hist(). 
I'd like to hear your thoughts on this.
- about the text() function, that is fine.
- about the #end comments, that is fine. I'll try not to use them in the code anymore.
I have a number of other specific questions about mplot3d for you. They will follow in another email.
Thanks,
-Ben
-----Original Message-----
From: Reinier Heeres [mailto:re...@he...] 
Sent: Wednesday, February 24, 2010 7:12 PM
To: Ben Axelrod
Cc: mat...@li...
Subject: Re: [matplotlib-devel] many mplot3d fixes
Hi Ben, all,
First of all: thanks for your patch. With a few minor modifications I think we should apply most of it. I had a quick look now, but let's aim to get it in over the weekend.
Let me also say that as far as I'm concerned, mplot3d is here to stay and I will try to continue to support it. However, some help for this would be greatly appreciated, and it seems you can find your way around the code just fine!
- I'm not entirely sure whether the CuboidCollection class you wrote is completely necessary, wouldn't it also be possible to use Poly3DCollection instances? (which should be correctly sorted). Then the only thing that would have to be added to Poly3DCollection is the histogram heuristic.
- For the text() function, I think we should probably pass all kwargs to Axes.text() instead of the explicit version you used.
- If you don't mind I'll remove the #endif etc comments, they appear nowhere in the codebase as far as I know.
Pleas let me know what you think!
Cheers,
Reinier
On Wed, Feb 24, 2010 at 7:39 PM, Ben Axelrod <BAx...@co...> wrote:
> Here is a major patch for mplot3d. Here is a summary of the changes:
>
> * bug fix: placement of title in 3D plots to match 2D plot behavior 
> (see nonecolortester.py to demonstrate)
> * bug fix: allow facecolors and edgecolors to be specified as 'none' 
> in 3D scatter plots to match the 2D scatter plot behavior (see 
> nonecolortester.py to demonstrate)
> * bug fix: allow all keyword arguments to be used in text3D (see 
> modified example code text3d_demo.py)
> * bug fix: allow an array of colors to be passed into bar3d to 
> specify the colors on a per-bar or per-face basis (see new example 
> code hist3d_demo2.py)
> * bug fix: allow all keyword arguments to be used in bar3d (see new 
> example code hist3d_demo2.py)
> * bug fix: allow 3d scatter plots with 3 or 4 points with colors 
> specified (see colortester2.py to demonstrate)
> * new feature: new method to disable mouse rotation in 3D plots
> * new feature: allow mouse rotation and zoom buttons to be specified 
> by user
> * new feature: new Z-order sorting heuristic to eliminate rendering 
> issues for the common case of using bar3d to visualize a 2D histogram 
> (see modified example code hist3d_demo.py)
> * new feature: new method text2D (see modified example code 
> text3d_demo.py)
> * code cleanup: warn when canvas is None which disables mouse 
> callbacks
> * code cleanup: document more methods in mplot3d
>
> Thanks,
> -Ben
> ----------------------------------------------------------------------
> -------- Download Intel&#174; Parallel Studio Eval Try the new 
> software tools for yourself. Speed compiling, find bugs proactively, 
> and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
--
Reinier Heeres
Tel: +31 6 10852639
From: Reinier H. <re...@he...> - 2010年02月25日 00:11:39
Hi Ben, all,
First of all: thanks for your patch. With a few minor modifications I
think we should apply most of it. I had a quick look now, but let's
aim to get it in over the weekend.
Let me also say that as far as I'm concerned, mplot3d is here to stay
and I will try to continue to support it. However, some help for this
would be greatly appreciated, and it seems you can find your way
around the code just fine!
- I'm not entirely sure whether the CuboidCollection class you wrote
is completely necessary, wouldn't it also be possible to use
Poly3DCollection instances? (which should be correctly sorted). Then
the only thing that would have to be added to Poly3DCollection is the
histogram heuristic.
- For the text() function, I think we should probably pass all kwargs
to Axes.text() instead of the explicit version you used.
- If you don't mind I'll remove the #endif etc comments, they appear
nowhere in the codebase as far as I know.
Pleas let me know what you think!
Cheers,
Reinier
On Wed, Feb 24, 2010 at 7:39 PM, Ben Axelrod <BAx...@co...> wrote:
> Here is a major patch for mplot3d. Here is a summary of the changes:
>
> * bug fix: placement of title in 3D plots to match 2D plot behavior (see nonecolortester.py to demonstrate)
> * bug fix: allow facecolors and edgecolors to be specified as 'none' in 3D scatter plots to match the 2D scatter plot behavior (see nonecolortester.py to demonstrate)
> * bug fix: allow all keyword arguments to be used in text3D (see modified example code text3d_demo.py)
> * bug fix: allow an array of colors to be passed into bar3d to specify the colors on a per-bar or per-face basis (see new example code hist3d_demo2.py)
> * bug fix: allow all keyword arguments to be used in bar3d (see new example code hist3d_demo2.py)
> * bug fix: allow 3d scatter plots with 3 or 4 points with colors specified (see colortester2.py to demonstrate)
> * new feature: new method to disable mouse rotation in 3D plots
> * new feature: allow mouse rotation and zoom buttons to be specified by user
> * new feature: new Z-order sorting heuristic to eliminate rendering issues for the common case of using bar3d to visualize a 2D histogram (see modified example code hist3d_demo.py)
> * new feature: new method text2D (see modified example code text3d_demo.py)
> * code cleanup: warn when canvas is None which disables mouse callbacks
> * code cleanup: document more methods in mplot3d
>
> Thanks,
> -Ben
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
-- 
Reinier Heeres
Tel: +31 6 10852639
1 message has been excluded from this view by a project administrator.

Showing 2 results of 2

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 によって変換されたページ (->オリジナル) /