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






Showing 9 results of 9

From: Sandro T. <san...@gm...> - 2012年09月21日 17:51:41
On Thu, Sep 20, 2012 at 8:48 PM, Michael Droettboom <md...@st...> wrote:
> The source of that file has always been `matplotlibrc.template` at the root
> of the source tree. That file is copied (by the build process) to
> lib/matplotlib/mpl-data/matplotlibrc, but it doesn't exist in the raw source
> tree.
ah nice, so I was using something outdated
> I'm not sure what matplotlib.conf is or was -- but I hope
> matplotlibrc.template fits the bill for the Debian package's purposes.
Absolutely, thanks for the quick reply!
Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
From: Ian T. <ian...@gm...> - 2012年09月21日 17:22:01
On 21 September 2012 14:38, Benjamin Root <ben...@ou...> wrote:
> On Fri, Sep 21, 2012 at 6:43 AM, Damon McDougall <
> dam...@gm...> wrote:
>
>> On Fri, Sep 21, 2012 at 8:27 AM, Ian Thomas <ian...@gm...>
>> wrote:
>> > On 20 September 2012 22:30, Damon McDougall <dam...@gm...>
>> > wrote:
>>
> 3. Create a new args_2d tuple exactly equal to *args but with 'z'
>> removed. Then rely on the 2d code with:
>> Triangulation.get_from_args_and_kwargs(args_2d, **kwargs). Since this
>> option would be common to all 3d functions relying on the 2d heavy
>> lifting, it could be wrapped up into a convenience function.
>>
>> In my opinion, option 3. is preferable. Option 3. will also produce
>> commits with the highest signal-to-noise ratio.
>>
>>
> I agree with option 3. It fits in nicely with the paradigms of the
> existing codebase (my recent contributions excluded...)
>
I am happy with option 3 too, but I don't think you need to do as much as
this. The existing 2d triplot/tripcolor/tricontour call
Triangulation.get_from_args_and_kwargs, which removes the various
args/kwargs needed for the triangulation and leaves the remainder for the
calling function to process. For example lib/matplotlib/tri/tricontour.py
lines 86 to 88:
tri, args, kwargs = \
 Triangulation.get_from_args_and_kwargs(*args, **kwargs)
z = np.asarray(args[0])
Can't you just do the same here, or am I missing something?
> A wider issue, and something I should have mentioned when you first
>> > implemented plot_trisurf, is that I don't like the function name. It
>> seems
>> > unnecessary to have the plot_ at the front as most of the other
>> plot-related
>> > functions manage without it. My unease extends to plot_surface and
>> > plot_wireframe as well. I guess we can't just change such names now
>> that
>> > they are being used, but eventually I would like to see better naming
>> within
>> > mplot3d.
>> >
>>
>>
>> Agreed. Not sure how best to solve this. Furthermore, I think it
>> should be implemented in a pull request separate to the one migrating
>> these 3d methods to custom triangulations.
>>
>>
> I wouldn't be against going down a deprecation path for renaming these
> functions, but for what gains? The names have been there since before I
> took up this toolkit, and ultimately, these functions aren't typed so often
> that brevity would gain one much. Definitely any new functions should not
> take up that naming, but I see no real compelling reason to change the
> existing names.
>
The gain is that of more consistent naming of the mplot3d api functions.
The argument that we should keep names because they have been around for a
long time is not a strong one if the names are poor choices in the first
place. But I am not particularly concerned as I think that mplot3d has
some bigger problems to solve than this e.g. correct rendering of nested
polygons, z-order rendering, so maybe I should keep quiet about such
details!
Ian
From: Michael D. <md...@st...> - 2012年09月21日 14:32:48
On 09/21/2012 09:40 AM, Benjamin Root wrote:
>
>
> On Fri, Sep 21, 2012 at 9:23 AM, Benjamin Root <ben...@ou... 
> <mailto:ben...@ou...>> wrote:
>
>
>
> On Fri, Sep 21, 2012 at 5:30 AM, Phil Elson <pel...@gm...
> <mailto:pel...@gm...>> wrote:
>
> @Ben: Presumably your running one of the examples. Probably
> changed with https://github.com/matplotlib/matplotlib/pull/921
>
>
>
>
> That would explain it. I forgot that the examples got modified to
> showcase other colormaps. I think the 3d plots need some more
> "pop", though. I think I will make a PR to change them from the
> "coolwarm" colormap to something a bit more appealing. The
> coolwarm colors just look dull and unappealing.
>
> Cheers!
> Ben Root
>
>
> This raises an important question, though... the matplotlib.org 
> <http://matplotlib.org> site has the older examples. That particular 
> PR was merged 4 months ago. Is the mplot3d part of the docs not 
> getting rebuilt?
The root of the documentation is still for 1.1.1 (the last released 
version). The docs that correspond to the release candidate are under 
matplotlib.org/1.2.0 (and this is linked to from the root page). Once 
the 1.2.0 release is made, this will be reversed, with 1.2.0 taking the 
top level and 1.1.1 relegated to an "archive" at matplotlib.org/1.1.1
Mike
From: Benjamin R. <ben...@ou...> - 2012年09月21日 13:40:30
On Fri, Sep 21, 2012 at 9:23 AM, Benjamin Root <ben...@ou...> wrote:
>
>
> On Fri, Sep 21, 2012 at 5:30 AM, Phil Elson <pel...@gm...> wrote:
>
>> @Ben: Presumably your running one of the examples. Probably changed with
>> https://github.com/matplotlib/matplotlib/pull/921
>>
>>
>>
>
> That would explain it. I forgot that the examples got modified to
> showcase other colormaps. I think the 3d plots need some more "pop",
> though. I think I will make a PR to change them from the "coolwarm"
> colormap to something a bit more appealing. The coolwarm colors just look
> dull and unappealing.
>
> Cheers!
> Ben Root
>
>
This raises an important question, though... the matplotlib.org site has
the older examples. That particular PR was merged 4 months ago. Is the
mplot3d part of the docs not getting rebuilt?
Ben Root
From: Benjamin R. <ben...@ou...> - 2012年09月21日 13:38:48
On Fri, Sep 21, 2012 at 6:43 AM, Damon McDougall
<dam...@gm...>wrote:
> On Fri, Sep 21, 2012 at 8:27 AM, Ian Thomas <ian...@gm...> wrote:
> > On 20 September 2012 22:30, Damon McDougall <dam...@gm...>
> > wrote:
> >>
> >> I have been playing with custom triangulations in the plot_trisurf
> >> method of the mplot3d toolkit. I thought I would share my sweet
> >> creation: https://www.dropbox.com/s/ccptm6ok7nd3yn5/mobius.png
> >>
> >> Let me know your thoughts. I should probably make a pull request out
> >> of this, but the code is not currently readable by humans. I will tidy
> >> it up first. Make it look purrty.
> >
> >
> > Yes please! Ideally it would be good if all mplot3d functions supported
> the
> > same arg and kwarg combinations as their 2d equivalents, for consistency.
> > You may have done this already, but if not you might find the 2d
> tripcolor
> > code helpful - it calls Triangulation.get_from_args_and_kwargs(*args,
> > **kwargs) to do the initial heavy lifting.
> >
>
> Yes, I had seen it. Thank you. Unfortunately, using this is
> non-trivial when you have an extra 'z' variable. There are a couple of
> options to get around this:
>
> 1. Re-write a 3d version and add it to matplotlib.tri. Pros of this
> approach are that the 3d methods would basically only require one
> extra line, a call to Triangulation.get_from_args_and_kwargs_3d(*args,
> **kwargs). Cons of this approach are code repetition. Also, I'm not a
> fan of putting 3d code into main mpl codebase. I think it should stay
> in the toolkit.
>
> 2. Implement option 1. but in the mplot3d toolkit rather than the main
> codebase.
>
> 3. Create a new args_2d tuple exactly equal to *args but with 'z'
> removed. Then rely on the 2d code with:
> Triangulation.get_from_args_and_kwargs(args_2d, **kwargs). Since this
> option would be common to all 3d functions relying on the 2d heavy
> lifting, it could be wrapped up into a convenience function.
>
> In my opinion, option 3. is preferable. Option 3. will also produce
> commits with the highest signal-to-noise ratio.
>
>
I agree with option 3. It fits in nicely with the paradigms of the
existing codebase (my recent contributions excluded...)
> > Forgive my cheek, but whilst you are looking at this area
> mplot3d.tricontour
> > and tricontourf need similar improvement...
> >
>
> Forgiven. I might as well do it whilst I'm already half-way down the
> rabbit hole.
>
> > A wider issue, and something I should have mentioned when you first
> > implemented plot_trisurf, is that I don't like the function name. It
> seems
> > unnecessary to have the plot_ at the front as most of the other
> plot-related
> > functions manage without it. My unease extends to plot_surface and
> > plot_wireframe as well. I guess we can't just change such names now that
> > they are being used, but eventually I would like to see better naming
> within
> > mplot3d.
> >
>
> Agreed. Not sure how best to solve this. Furthermore, I think it
> should be implemented in a pull request separate to the one migrating
> these 3d methods to custom triangulations.
>
>
I wouldn't be against going down a deprecation path for renaming these
functions, but for what gains? The names have been there since before I
took up this toolkit, and ultimately, these functions aren't typed so often
that brevity would gain one much. Definitely any new functions should not
take up that naming, but I see no real compelling reason to change the
existing names.
Cheers!
Ben Root
From: Benjamin R. <ben...@ou...> - 2012年09月21日 13:24:24
On Fri, Sep 21, 2012 at 5:30 AM, Phil Elson <pel...@gm...> wrote:
> @Ben: Presumably your running one of the examples. Probably changed with
> https://github.com/matplotlib/matplotlib/pull/921
>
>
>
That would explain it. I forgot that the examples got modified to showcase
other colormaps. I think the 3d plots need some more "pop", though. I
think I will make a PR to change them from the "coolwarm" colormap to
something a bit more appealing. The coolwarm colors just look dull and
unappealing.
Cheers!
Ben Root
From: Damon M. <dam...@gm...> - 2012年09月21日 10:43:51
On Fri, Sep 21, 2012 at 8:27 AM, Ian Thomas <ian...@gm...> wrote:
> On 20 September 2012 22:30, Damon McDougall <dam...@gm...>
> wrote:
>>
>> I have been playing with custom triangulations in the plot_trisurf
>> method of the mplot3d toolkit. I thought I would share my sweet
>> creation: https://www.dropbox.com/s/ccptm6ok7nd3yn5/mobius.png
>>
>> Let me know your thoughts. I should probably make a pull request out
>> of this, but the code is not currently readable by humans. I will tidy
>> it up first. Make it look purrty.
>
>
> Yes please! Ideally it would be good if all mplot3d functions supported the
> same arg and kwarg combinations as their 2d equivalents, for consistency.
> You may have done this already, but if not you might find the 2d tripcolor
> code helpful - it calls Triangulation.get_from_args_and_kwargs(*args,
> **kwargs) to do the initial heavy lifting.
>
Yes, I had seen it. Thank you. Unfortunately, using this is
non-trivial when you have an extra 'z' variable. There are a couple of
options to get around this:
1. Re-write a 3d version and add it to matplotlib.tri. Pros of this
approach are that the 3d methods would basically only require one
extra line, a call to Triangulation.get_from_args_and_kwargs_3d(*args,
**kwargs). Cons of this approach are code repetition. Also, I'm not a
fan of putting 3d code into main mpl codebase. I think it should stay
in the toolkit.
2. Implement option 1. but in the mplot3d toolkit rather than the main codebase.
3. Create a new args_2d tuple exactly equal to *args but with 'z'
removed. Then rely on the 2d code with:
Triangulation.get_from_args_and_kwargs(args_2d, **kwargs). Since this
option would be common to all 3d functions relying on the 2d heavy
lifting, it could be wrapped up into a convenience function.
In my opinion, option 3. is preferable. Option 3. will also produce
commits with the highest signal-to-noise ratio.
> Forgive my cheek, but whilst you are looking at this area mplot3d.tricontour
> and tricontourf need similar improvement...
>
Forgiven. I might as well do it whilst I'm already half-way down the
rabbit hole.
> A wider issue, and something I should have mentioned when you first
> implemented plot_trisurf, is that I don't like the function name. It seems
> unnecessary to have the plot_ at the front as most of the other plot-related
> functions manage without it. My unease extends to plot_surface and
> plot_wireframe as well. I guess we can't just change such names now that
> they are being used, but eventually I would like to see better naming within
> mplot3d.
>
Agreed. Not sure how best to solve this. Furthermore, I think it
should be implemented in a pull request separate to the one migrating
these 3d methods to custom triangulations.
-- 
Damon McDougall
http://www.damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom
From: Phil E. <pel...@gm...> - 2012年09月21日 09:30:11
@Ben: Presumably your running one of the examples. Probably changed with
https://github.com/matplotlib/matplotlib/pull/921
On 20 September 2012 18:23, Benjamin Root <ben...@ou...> wrote:
>
>
> On Wed, Sep 19, 2012 at 1:53 PM, Michael Droettboom <md...@st...>wrote:
>
>> I have tagged and created a tarball for 1.2.0rc2. The githash is
>> 656c88f3e546. The tarball is on the github download page here:
>>
>> https://github.com/matplotlib/matplotlib/downloads
>>
>> This includes a number of important bugfixes, including things required
>> for creating Macintosh and Windows binaries. The Travis tests are also
>> now passing.
>>
>> I hope it will be easier for the binaries to be created this time. Once
>> they are available at github, I will make an announcement to
>> matplotlib-users and hopefully get some serious testing out of this thing.
>>
>> Thanks for all of the hard work!
>>
>> Mike
>>
>>
> Is it just me, or are colors looking duller?
>
> I attached before (v1.1.x) and after (v1.2.x) images.
>
> Ben Root
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
From: Ian T. <ian...@gm...> - 2012年09月21日 07:27:13
On 20 September 2012 22:30, Damon McDougall <dam...@gm...>wrote:
> I have been playing with custom triangulations in the plot_trisurf
> method of the mplot3d toolkit. I thought I would share my sweet
> creation: https://www.dropbox.com/s/ccptm6ok7nd3yn5/mobius.png
>
> Let me know your thoughts. I should probably make a pull request out
> of this, but the code is not currently readable by humans. I will tidy
> it up first. Make it look purrty.
>
Yes please! Ideally it would be good if all mplot3d functions supported
the same arg and kwarg combinations as their 2d equivalents, for
consistency. You may have done this already, but if not you might find the
2d tripcolor code helpful - it calls
Triangulation.get_from_args_and_kwargs(*args, **kwargs) to do the initial
heavy lifting.
Forgive my cheek, but whilst you are looking at this area
mplot3d.tricontour and tricontourf need similar improvement...
A wider issue, and something I should have mentioned when you first
implemented plot_trisurf, is that I don't like the function name. It seems
unnecessary to have the plot_ at the front as most of the other
plot-related functions manage without it. My unease extends to
plot_surface and plot_wireframe as well. I guess we can't just change such
names now that they are being used, but eventually I would like to see
better naming within mplot3d.
Thanks,
Ian

Showing 9 results of 9

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