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

Showing results of 50

1 2 > >> (Page 1 of 2)
From: Thomas C. <tca...@gm...> - 2015年01月27日 17:52:07
I would keep an eye on scikit-image and their viewer work. One of the
drivers behind Steven working on the nbagg backend was prep work to port
their imageviewer code over to using nbagg from than qt.
I think it is also possible to interact between ipython widgets and
figure/axes objects with nbagg.
Tom
On Tue Jan 27 2015 at 12:20:32 PM Eric Firing <ef...@ha...> wrote:
> On 2015年01月27日 6:51 AM, Mark wrote:
> > ginput works fine in a GUI window, but there is no matplotlib widget
> > where I can type text or numbers in a box. Like the FloatTextWidget in
> > IPython. Or am I missing something?
>
> I think you are correct. John Hunter explicitly avoided the temptation
> to keep adding backend-independent widgets to mpl; we have a hard enough
> time trying to maintain and improve the plotting capabilities without
> trying to turn mpl into a wxwidgets work-alike. If you need more than
> the very minimal widgets presently on offer, you have to choose a gui
> toolkit and use it directly, embedding matplotlib in it.
>
> Eric
>
> >
> > Sent from my iPhone
> >
> > On Jan 27, 2015, at 17:34, Paul Hobson <pmh...@gm...
> > <mailto:pmh...@gm...>> wrote:
> >
> >> I'm 99% sure you can do this in a GUI window. Does your solution have
> >> to be in the notebook?
> >>
> >> On Tue, Jan 27, 2015 at 12:37 AM, Mark Bakker <ma...@gm...
> >> <mailto:ma...@gm...>> wrote:
> >>
> >> Thanks, Tom.
> >>
> >> I want to use ginput to draw a straight line on a graph.
> >> The line is used to select a cross-section of a contour plot.
> >>
> >> I was afraid it wasn't going to be easy.
> >>
> >> Getting to it from the other side, is there a matplotlib widget in
> >> the works where I can type text or numbers in a box? Like
> >> the FloatTextWidget in IPython?
> >>
> >> Problem is I want to make a small GUI that includes both a text
> >> widget (which is available in IPython) and a 'select points in
> >> graph' widget like ginput in matplotlib.
> >>
> >> Mark
> >>
> >>
> >> On Mon, Jan 26, 2015 at 11:47 PM, Thomas Caswell
> >> <tca...@gm... <mailto:tca...@gm...>> wrote:
> >>
> >> nbagg is always running in the IPython event loop (as I
> >> understand it), so I am not sure how to integrate that with
> >> the blocking.
> >>
> >> On the 1.4.x/master branch we have support for (almost, one PR
> >> still pending) all mouse and keyboard events so all of the mpl
> >> widgets should work (big thanks to Steven Silvester). T
> >>
> >> What do you want to use that relies on ginput?
> >>
> >> You can fake up a non-blocking version something like:
> >>
> >> from collections import deque
> >> ```
> >> class accumulator(object):
> >> def __init__(self, n=5):
> >> self.list_of_points = deque(maxlen=n)
> >> def on_event(self, event):
> >> self.list_of_points.append(event)
> >>
> >> import matplotlib
> >> import itertools
> >> import numpy as np
> >> matplotlib.use('nbagg')
> >> import matplotlib.pyplot as plt
> >> plt.close('all')
> >> fig, ax = plt.subplots()
> >> x = np.linspace(0,10,10000)
> >> y = np.sin(x)
> >> ln, = ax.plot(x,y)
> >>
> >> dd = accumulator(15)
> >> fig.canvas.mpl_connect('button_press_event', dd.on_event)
> >> plt.show()
> >> ```
> >>
> >> and then get the points by
> >>
> >> ```
> >> dd.lest_of_points
> >> ```
> >>
> >> This code obviously needs lots of bells and whistles, but
> >> points in the right direction.
> >>
> >> Tom
> >>
> >> On Mon Jan 26 2015 at 2:45:45 PM Mark Bakker
> >> <ma...@gm... <mailto:ma...@gm...>> wrote:
> >>
> >> Hello List,
> >>
> >> Are there any plans to make ginput work in the nbagg
> backend?
> >>
> >> It would be so cool if I could use that in an IPython
> >> Notebook together with the other widgets.
> >>
> >> Thanks,
> >>
> >> Mark
> >> ------------------------------
> __------------------------------__------------------
> >>
> >>
> >>
> >> ------------------------------------------------------------
> ------------------
> >> Dive into the World of Parallel Programming. The Go Parallel
> Website,
> >> sponsored by Intel and developed in partnership with Slashdot
> >> Media, is your
> >> hub for all things parallel software development, from weekly
> thought
> >> leadership blogs to news, videos, case studies, tutorials and
> >> more. Take a
> >> look and join the conversation now. http://goparallel.sourceforge.
> net/
> >> _______________________________________________
> >> Matplotlib-devel mailing list
> >> Mat...@li...
> >> <mailto:Mat...@li...>
> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >>
> >>
> >
> >
> > ------------------------------------------------------------
> ------------------
> > Dive into the World of Parallel Programming. The Go Parallel Website,
> > sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> > hub for all things parallel software development, from weekly thought
> > leadership blogs to news, videos, case studies, tutorials and more. Take
> a
> > look and join the conversation now. http://goparallel.sourceforge.net/
> >
> >
> >
> > _______________________________________________
> > Matplotlib-devel mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >
>
>
> ------------------------------------------------------------
> ------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Eric F. <ef...@ha...> - 2015年01月27日 17:19:47
On 2015年01月27日 6:51 AM, Mark wrote:
> ginput works fine in a GUI window, but there is no matplotlib widget
> where I can type text or numbers in a box. Like the FloatTextWidget in
> IPython. Or am I missing something?
I think you are correct. John Hunter explicitly avoided the temptation 
to keep adding backend-independent widgets to mpl; we have a hard enough 
time trying to maintain and improve the plotting capabilities without 
trying to turn mpl into a wxwidgets work-alike. If you need more than 
the very minimal widgets presently on offer, you have to choose a gui 
toolkit and use it directly, embedding matplotlib in it.
Eric
>
> Sent from my iPhone
>
> On Jan 27, 2015, at 17:34, Paul Hobson <pmh...@gm...
> <mailto:pmh...@gm...>> wrote:
>
>> I'm 99% sure you can do this in a GUI window. Does your solution have
>> to be in the notebook?
>>
>> On Tue, Jan 27, 2015 at 12:37 AM, Mark Bakker <ma...@gm...
>> <mailto:ma...@gm...>> wrote:
>>
>> Thanks, Tom.
>>
>> I want to use ginput to draw a straight line on a graph.
>> The line is used to select a cross-section of a contour plot.
>>
>> I was afraid it wasn't going to be easy.
>>
>> Getting to it from the other side, is there a matplotlib widget in
>> the works where I can type text or numbers in a box? Like
>> the FloatTextWidget in IPython?
>>
>> Problem is I want to make a small GUI that includes both a text
>> widget (which is available in IPython) and a 'select points in
>> graph' widget like ginput in matplotlib.
>>
>> Mark
>>
>>
>> On Mon, Jan 26, 2015 at 11:47 PM, Thomas Caswell
>> <tca...@gm... <mailto:tca...@gm...>> wrote:
>>
>> nbagg is always running in the IPython event loop (as I
>> understand it), so I am not sure how to integrate that with
>> the blocking.
>>
>> On the 1.4.x/master branch we have support for (almost, one PR
>> still pending) all mouse and keyboard events so all of the mpl
>> widgets should work (big thanks to Steven Silvester). T
>>
>> What do you want to use that relies on ginput?
>>
>> You can fake up a non-blocking version something like:
>>
>> from collections import deque
>> ```
>> class accumulator(object):
>> def __init__(self, n=5):
>> self.list_of_points = deque(maxlen=n)
>> def on_event(self, event):
>> self.list_of_points.append(event)
>>
>> import matplotlib
>> import itertools
>> import numpy as np
>> matplotlib.use('nbagg')
>> import matplotlib.pyplot as plt
>> plt.close('all')
>> fig, ax = plt.subplots()
>> x = np.linspace(0,10,10000)
>> y = np.sin(x)
>> ln, = ax.plot(x,y)
>>
>> dd = accumulator(15)
>> fig.canvas.mpl_connect('button_press_event', dd.on_event)
>> plt.show()
>> ```
>>
>> and then get the points by
>>
>> ```
>> dd.lest_of_points
>> ```
>>
>> This code obviously needs lots of bells and whistles, but
>> points in the right direction.
>>
>> Tom
>>
>> On Mon Jan 26 2015 at 2:45:45 PM Mark Bakker
>> <ma...@gm... <mailto:ma...@gm...>> wrote:
>>
>> Hello List,
>>
>> Are there any plans to make ginput work in the nbagg backend?
>>
>> It would be so cool if I could use that in an IPython
>> Notebook together with the other widgets.
>>
>> Thanks,
>>
>> Mark
>> ------------------------------__------------------------------__------------------
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming. The Go Parallel Website,
>> sponsored by Intel and developed in partnership with Slashdot
>> Media, is your
>> hub for all things parallel software development, from weekly thought
>> leadership blogs to news, videos, case studies, tutorials and
>> more. Take a
>> look and join the conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> <mailto:Mat...@li...>
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
>
>
>
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Mark <ma...@gm...> - 2015年01月27日 16:51:56
ginput works fine in a GUI window, but there is no matplotlib widget where I can type text or numbers in a box. Like the FloatTextWidget in IPython. Or am I missing something?
Sent from my iPhone
> On Jan 27, 2015, at 17:34, Paul Hobson <pmh...@gm...> wrote:
> 
> I'm 99% sure you can do this in a GUI window. Does your solution have to be in the notebook?
> 
>> On Tue, Jan 27, 2015 at 12:37 AM, Mark Bakker <ma...@gm...> wrote:
>> Thanks, Tom.
>> 
>> I want to use ginput to draw a straight line on a graph.
>> The line is used to select a cross-section of a contour plot. 
>> 
>> I was afraid it wasn't going to be easy.
>> 
>> Getting to it from the other side, is there a matplotlib widget in the works where I can type text or numbers in a box? Like the FloatTextWidget in IPython?
>> 
>> Problem is I want to make a small GUI that includes both a text widget (which is available in IPython) and a 'select points in graph' widget like ginput in matplotlib.
>> 
>> Mark
>> 
>> 
>>> On Mon, Jan 26, 2015 at 11:47 PM, Thomas Caswell <tca...@gm...> wrote:
>>> nbagg is always running in the IPython event loop (as I understand it), so I am not sure how to integrate that with the blocking.
>>> 
>>> On the 1.4.x/master branch we have support for (almost, one PR still pending) all mouse and keyboard events so all of the mpl widgets should work (big thanks to Steven Silvester). T
>>> 
>>> What do you want to use that relies on ginput?
>>> 
>>> You can fake up a non-blocking version something like:
>>> 
>>> from collections import deque
>>> ```
>>> class accumulator(object):
>>> def __init__(self, n=5):
>>> self.list_of_points = deque(maxlen=n)
>>> 
>>> def on_event(self, event):
>>> self.list_of_points.append(event)
>>> 
>>> import matplotlib
>>> import itertools
>>> import numpy as np
>>> matplotlib.use('nbagg')
>>> import matplotlib.pyplot as plt
>>> plt.close('all')
>>> fig, ax = plt.subplots()
>>> x = np.linspace(0,10,10000)
>>> y = np.sin(x)
>>> ln, = ax.plot(x,y)
>>> 
>>> dd = accumulator(15)
>>> fig.canvas.mpl_connect('button_press_event', dd.on_event)
>>> plt.show()
>>> ```
>>> 
>>> and then get the points by
>>> 
>>> ```
>>> dd.lest_of_points
>>> ```
>>> 
>>> This code obviously needs lots of bells and whistles, but points in the right direction.
>>> 
>>> Tom
>>> 
>>>> On Mon Jan 26 2015 at 2:45:45 PM Mark Bakker <ma...@gm...> wrote:
>>>> Hello List,
>>>> 
>>>> Are there any plans to make ginput work in the nbagg backend?
>>>> 
>>>> It would be so cool if I could use that in an IPython Notebook together with the other widgets.
>>>> 
>>>> Thanks,
>>>> 
>>>> Mark
>>>> ------------------------------------------------------------------------------
>> 
>> 
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming. The Go Parallel Website,
>> sponsored by Intel and developed in partnership with Slashdot Media, is your
>> hub for all things parallel software development, from weekly thought
>> leadership blogs to news, videos, case studies, tutorials and more. Take a
>> look and join the conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
From: Thomas C. <tca...@gm...> - 2015年01月27日 16:38:09
Hey all,
If anyone is interested, there is a software position open at BNL in the
group I work with:
https://www.bnl.gov/hr/careers/jobs/?cpUrl=https://careers.peopleclick.com/careerscp/Client_BrookhavenLab/external/en_US/gateway.do?functionName=viewFromLink&localeCode=en-us&jobPostId=525
Please forward this to anyone who might be interested.
Tom
From: Paul H. <pmh...@gm...> - 2015年01月27日 16:35:05
I'm 99% sure you can do this in a GUI window. Does your solution have to be
in the notebook?
On Tue, Jan 27, 2015 at 12:37 AM, Mark Bakker <ma...@gm...> wrote:
> Thanks, Tom.
>
> I want to use ginput to draw a straight line on a graph.
> The line is used to select a cross-section of a contour plot.
>
> I was afraid it wasn't going to be easy.
>
> Getting to it from the other side, is there a matplotlib widget in the
> works where I can type text or numbers in a box? Like the FloatTextWidget
> in IPython?
>
> Problem is I want to make a small GUI that includes both a text widget
> (which is available in IPython) and a 'select points in graph' widget like
> ginput in matplotlib.
>
> Mark
>
>
> On Mon, Jan 26, 2015 at 11:47 PM, Thomas Caswell <tca...@gm...>
> wrote:
>
>> nbagg is always running in the IPython event loop (as I understand it),
>> so I am not sure how to integrate that with the blocking.
>>
>> On the 1.4.x/master branch we have support for (almost, one PR still
>> pending) all mouse and keyboard events so all of the mpl widgets should
>> work (big thanks to Steven Silvester). T
>>
>> What do you want to use that relies on ginput?
>>
>> You can fake up a non-blocking version something like:
>>
>> from collections import deque
>> ```
>> class accumulator(object):
>> def __init__(self, n=5):
>> self.list_of_points = deque(maxlen=n)
>>
>> def on_event(self, event):
>> self.list_of_points.append(event)
>>
>> import matplotlib
>> import itertools
>> import numpy as np
>> matplotlib.use('nbagg')
>> import matplotlib.pyplot as plt
>> plt.close('all')
>> fig, ax = plt.subplots()
>> x = np.linspace(0,10,10000)
>> y = np.sin(x)
>> ln, = ax.plot(x,y)
>>
>> dd = accumulator(15)
>> fig.canvas.mpl_connect('button_press_event', dd.on_event)
>> plt.show()
>> ```
>>
>> and then get the points by
>>
>> ```
>> dd.lest_of_points
>> ```
>>
>> This code obviously needs lots of bells and whistles, but points in the
>> right direction.
>>
>> Tom
>>
>> On Mon Jan 26 2015 at 2:45:45 PM Mark Bakker <ma...@gm...> wrote:
>>
>>> Hello List,
>>>
>>> Are there any plans to make ginput work in the nbagg backend?
>>>
>>> It would be so cool if I could use that in an IPython Notebook together
>>> with the other widgets.
>>>
>>> Thanks,
>>>
>>> Mark
>>> ------------------------------------------------------------
>>> ------------------
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
From: Mark B. <ma...@gm...> - 2015年01月27日 08:38:41
Thanks, Tom.
I want to use ginput to draw a straight line on a graph.
The line is used to select a cross-section of a contour plot.
I was afraid it wasn't going to be easy.
Getting to it from the other side, is there a matplotlib widget in the
works where I can type text or numbers in a box? Like the FloatTextWidget
in IPython?
Problem is I want to make a small GUI that includes both a text widget
(which is available in IPython) and a 'select points in graph' widget like
ginput in matplotlib.
Mark
On Mon, Jan 26, 2015 at 11:47 PM, Thomas Caswell <tca...@gm...> wrote:
> nbagg is always running in the IPython event loop (as I understand it), so
> I am not sure how to integrate that with the blocking.
>
> On the 1.4.x/master branch we have support for (almost, one PR still
> pending) all mouse and keyboard events so all of the mpl widgets should
> work (big thanks to Steven Silvester). T
>
> What do you want to use that relies on ginput?
>
> You can fake up a non-blocking version something like:
>
> from collections import deque
> ```
> class accumulator(object):
> def __init__(self, n=5):
> self.list_of_points = deque(maxlen=n)
>
> def on_event(self, event):
> self.list_of_points.append(event)
>
> import matplotlib
> import itertools
> import numpy as np
> matplotlib.use('nbagg')
> import matplotlib.pyplot as plt
> plt.close('all')
> fig, ax = plt.subplots()
> x = np.linspace(0,10,10000)
> y = np.sin(x)
> ln, = ax.plot(x,y)
>
> dd = accumulator(15)
> fig.canvas.mpl_connect('button_press_event', dd.on_event)
> plt.show()
> ```
>
> and then get the points by
>
> ```
> dd.lest_of_points
> ```
>
> This code obviously needs lots of bells and whistles, but points in the
> right direction.
>
> Tom
>
> On Mon Jan 26 2015 at 2:45:45 PM Mark Bakker <ma...@gm...> wrote:
>
>> Hello List,
>>
>> Are there any plans to make ginput work in the nbagg backend?
>>
>> It would be so cool if I could use that in an IPython Notebook together
>> with the other widgets.
>>
>> Thanks,
>>
>> Mark
>> ------------------------------------------------------------
>> ------------------
>>
>
From: Thomas C. <tca...@gm...> - 2015年01月26日 22:48:01
nbagg is always running in the IPython event loop (as I understand it), so
I am not sure how to integrate that with the blocking.
On the 1.4.x/master branch we have support for (almost, one PR still
pending) all mouse and keyboard events so all of the mpl widgets should
work (big thanks to Steven Silvester). T
What do you want to use that relies on ginput?
You can fake up a non-blocking version something like:
from collections import deque
```
class accumulator(object):
 def __init__(self, n=5):
 self.list_of_points = deque(maxlen=n)
 def on_event(self, event):
 self.list_of_points.append(event)
import matplotlib
import itertools
import numpy as np
matplotlib.use('nbagg')
import matplotlib.pyplot as plt
plt.close('all')
fig, ax = plt.subplots()
x = np.linspace(0,10,10000)
y = np.sin(x)
ln, = ax.plot(x,y)
dd = accumulator(15)
fig.canvas.mpl_connect('button_press_event', dd.on_event)
plt.show()
```
and then get the points by
```
dd.lest_of_points
```
This code obviously needs lots of bells and whistles, but points in the
right direction.
Tom
On Mon Jan 26 2015 at 2:45:45 PM Mark Bakker <ma...@gm...> wrote:
> Hello List,
>
> Are there any plans to make ginput work in the nbagg backend?
>
> It would be so cool if I could use that in an IPython Notebook together
> with the other widgets.
>
> Thanks,
>
> Mark
> ------------------------------------------------------------
> ------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Mark B. <ma...@gm...> - 2015年01月26日 19:44:56
Hello List,
Are there any plans to make ginput work in the nbagg backend?
It would be so cool if I could use that in an IPython Notebook together
with the other widgets.
Thanks,
Mark
From: Byron K. B. <bkb...@be...> - 2015年01月23日 14:50:20
I’ve worked out how to create a Poly3DCollection as noted by Maximilian Albert and how to use the set_array method on the collection created by plot_trisurf as noted by Geoffroy Billotey. I have two follow up questions:
1) Would it be possible to make it so that if the color parameter of plot_trisurf is an array of length n_triangles, that plot_trisurf would internally use set_array to color the triangles with the colors in the color parameter?
2) Is there a way to color the triangles with gradients? I have an intensity value at each vertex of the triangles so Matlab/octave colors each triangle with a gradient whereas right now I’m taking an average of the values at the vertices and assigning the resulting value to the triangle.
Byron Boulton
From: Geoffroy Billotey [mailto:geo...@gm...]
Sent: Wednesday, January 21, 2015 12:33 PM
To: mat...@li...; Byron K. Boulton
Subject: Re: [matplotlib-devel] trisurf plots with independent color data
Hi,
You can also try to pass a *color* array of size ntri (number of triangles) to the *set_array* method of the collection returned by *plot_trisurf*.
See for instance:
http://stackoverflow.com/questions/24218543/colouring-the-surface-of-a-sphere-with-a-set-of-scalar-values-in-matplotlib/24229480#24229480<http://cp.mcafee.com/d/1jWVIq40USyMCyYUy-qenztPqdQPhOCepshhdETjd7aoVBNOVJ6WpEVj7cK8FCQrFCzBcsOUeKr85i5mPVRw2y7NzbOszP-ndAfz6nAV7DYKrggjZQwM_R-puK-_RXBQSkSu7fcEKsJteOaqJTCel3PWApmU6CQjrVK_9IInojvvpjdTdw0WjSNmFDUKDRcsLwITZ9OH2C9I9ELfIcVqFZmUOwhbP9-nET5TrunGWnQLhoDYvbC9j9BZbQ-puHFuBJfS9sPFXvQbOwnlSqNZpDO8oCMCCqem7HwoCMCCqem7HCOfRttzkJN2hVZp-m1h4jVsSyMMCMr1vF6y0QJGXdo-IPV42W7CvfdbFEwD6l6UKCy1o-IW6y0NapcQgiwxWTMg-4Ph1qFZoCy13pWrsodTc9QClIZK1f8>
2015年01月21日 17:02 GMT+01:00 Maximilian Albert <max...@gm...<mailto:max...@gm...>>:
Hi Byron,
This is a bit of a workaround, but you can specify facecolors explicitly by creating a triangulation of your surface explicitly and creating a Poly3DCollection with these facecolors. I'm attaching an example below which is a modified version of the plot_trisurf demo [1] in the matplotlib documentation. It showcases both random colors and a smooth gradient (the latter in the line that's commented out).
I would have thought that it should be possible to pass an argument like "facecolors" to plot_trisurf directly, since the documentation [2] states that "other arguments are passed on to Poly3DCollection". However, I couldn't get this to work quickly. Maybe someone else knows how?
Best regards,
Max
[1] http://matplotlib.org/examples/mplot3d/trisurf3d_demo.html<http://cp.mcafee.com/d/k-Kr6x0SyMCyYUy-qenztPqdQPhOCepshhdETjd7aoVBNOVJ6WpEVj7cK8FCQrFCzBcsOUeKr85i5mPVRw2y7NzbOszP-ndAfz6nAV7DYKrggjZQwM_R-puK-_RXBQSkSu7fcEKsJteOaqJTCel3PWApmU6CQPrVK_9IInojvvpjdTdw0RtCIvmpYy700sYf21_QNlo-ISkcD6l6UKIE2G7GRU76OfRttzkJN2hVZp-m1h4jVsSyMMCMr1vF6y0QJGXdo-IPV42W7CvfdbFEwD6l6UKCy1o-IW6y0NapcQgiwxWTMg-4Ph1qFZoCy13pWrsodCuBsX5L->
[2] http://matplotlib.org/mpl_toolkits/mplot3d/api.html<http://cp.mcafee.com/d/1jWVIq6h8gdEI9ELe8LCzBUTsSztcQsFzCn4kjqdQPhOCepssKrhKCqekNPbyapJ6WpEVj7cK3HCO1kxlI-to0ExYoOYD8Y_BPp3UNBVehV_bCQ44_t8cfZvCnHLLZuVtdBdDxPPabDbnjIyCHtVzBgY-F6lK1FJAS-rLOrb5S4TTSkPtPo0dnpH7RCv8xM075lzNmtqDBpjFyGNZpIEpGQK1NIzZnnoRbsgAuvmvBwkh4-ndEIc9I6MnWhEwdbqKPmfHc-h0KxVDPPiWq89NBhKbFEwmfHexEwciCjd44E8uJY4fxcQgmGvm9EwgSuCT63oeMA92eD>
from mpl_toolkits.mplot3d import Axes3D
from matplotlib import cm
import matplotlib.pyplot as plt
import numpy as np
from matplotlib.tri import Triangulation
from mpl_toolkits.mplot3d.art3d import Poly3DCollection
n_angles = 36
n_radii = 8
# An array of radii
# Does not include radius r=0, this is to eliminate duplicate points
radii = np.linspace(0.125, 1.0, n_radii)
# An array of angles
angles = np.linspace(0, 2*np.pi, n_angles, endpoint=False)
# Repeat all angles for each radius
angles = np.repeat(angles[...,np.newaxis], n_radii, axis=1)
# Convert polar (radii, angles) coords to cartesian (x, y) coords
# (0, 0) is added here. There are no duplicate points in the (x, y) plane
x = np.append(0, (radii*np.cos(angles)).flatten())
y = np.append(0, (radii*np.sin(angles)).flatten())
# Pringle surface
z = np.sin(-x*y)
tri = Triangulation(x, y) # NOTE: This assumes that there is a nice projection of the surface into the x/y-plane!
triangle_vertices = np.array([np.array([[x[T[0]], y[T[0]], z[T[0]]],
 [x[T[1]], y[T[1]], z[T[1]]],
 [x[T[2]], y[T[2]], z[T[2]]]]) for T in tri.triangles])
midpoints = np.average(triangle_vertices, axis=1)
def find_color_for_point(pt):
 x, y, z = pt
 col = [(y+1)/2, (1-y)/2, 0]
 return col
#facecolors = [find_color_for_point(pt) for pt in midpoints] # smooth gradient
facecolors = [np.random.random(3) for pt in midpoints] # random colors
coll = Poly3DCollection(triangle_vertices, facecolors=facecolors, edgecolors='black')
fig = plt.figure()
ax = fig.gca(projection='3d')
ax.add_collection(coll)
ax.set_xlim(-1, 1)
ax.set_ylim(-1, 1)
ax.set_zlim(-1, 1)
ax.elev = 50
plt.show()
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet<http://cp.mcafee.com/d/avndy0sd6Qm4QnD4nPhOYrKrhKCqekNPbya9J6WpEVj7cKendETjd7aoVBN5cSztcQsFzCn1RPp0GgGSveI0kg-cpujAuvOVIxYoOYD8Y_BPq22vKA67-LPbRTT-LsKCOCPMVVB5PBHFShjlKYNOEuvkzaT0QSMrvdTVdByX2rXXapKVI06JR7u1KktrMz8zUddAvGWX6Fry4zPWPYI2y8DOVJ5xxdwS2_id41FrlSqNZpDO85Qfc-uqnjh1ecGdNtd42NZpQd41ykOpEwB13RLwxY9Cy2RjWNd426PQSUMrFKoBfrL>
_______________________________________________
Matplotlib-devel mailing list
Mat...@li...<mailto:Mat...@li...>
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel<http://cp.mcafee.com/d/5fHCMUi6hEpdEI9ELe8LCzBUTsSztcQsFzCn4kjqdQPhOCepssKrhKCqekNPbyapJ6WpEVj7cK3HCO1kxlI-to0ExYoOYD8Y_BPp3UNBVehV_bCQ44_t8cfZvCnHLLZuVtdBdDxPPabDbnjIyCHtVzBgY-F6lK1FJYS-rLOrb5S4TTSkPtPpesRG9pxYGjFRaJNJXE07-1K7OFeC7OFek7qUHIRzWPfAgbEupYYSh-HHIqBK8iffHfOMa8yvbCQm64S3obZ8Qg6BJnpH7RCv8wngYPVVFtd44UOET5QQgb7RDgQg69j9Cy2k4fm-27MCq8blfH4Qg8rfjrz1I7gc>
From: Nicolas P. R. <Nic...@in...> - 2015年01月21日 19:37:10
+1. Great news.
Nicolas.
> On 21 Jan 2015, at 20:22, Chris Barker <chr...@no...> wrote:
> 
> +1 -- sounds great!
> 
> 
> 
> On Tue, Jan 20, 2015 at 7:48 AM, Michael Droettboom <md...@st...> wrote:
> Matplotlib
> is a widely used, well regarded, and powerful visualization
> library that has dominated the Python visualization stack for
> over a decade. However, to maintain that position, matplotlib
> must continue to evolve. Complementary or alternative
> libraries are appearing at an increasing rate, including
> browser-based plotting and GPU acceleration. To maintain its
> leadership position for the next decade, Matplotlib must
> interface with these alternatives while simultaneously
> expanding its capabilities and becoming easier to use and
> learn.
> 
> 
> Matplotlib’s
> large existing user base (greater than 50,000) means that new
> developments need to be carefully balanced with maintaining
> existing interfaces. With the large user and code base comes
> a significant maintenance and user-support burden. These
> responsibilities currently account for a majority of the
> core-developer time spent on matplotlib and has resulted in
> both the code base and community being in a healthier state
> than ever before. Even 6 years ago there was no automated
> testing to speak of and the number of contributors continues
> to soar on github. However, this effort is, for the most part,
> done on a volunteer basis in the nights and weekends of the
> core developers. To go beyond this maintenance level—to make
> step-change improvements for the benefit of matplotlib’s
> users—will require funding for full-time developers. Inspired
> and encouraged by the example of IPython, we would like to
> begin the process of fundraising.
> 
> 
> Managing
> funding on the needed scale is a complex and time-consuming
> process. Thankfully, NumFOCUS, a 501(c)3 charity organisation
> co-founded by John Hunter, offers a fiscal sponsorship
> agreement to minimize the administrative and legal burden on
> open source projects. We would like to enlist NumFOCUS as our
> agents in all legal and financial matters, including banking,
> accepting donations as a non-profit, payroll, and access to
> legal counsel. As part of the agreement, NumFOCUS would
> charge a percentage of all funds raised to cover their costs.
> The full text of the agreement is attached.
> 
> 
> To
> comply with the legal and accounting requirements of a
> non-profit, matplotlib needs to form an administrative body to
> interact with NumFOCUS and direct the disbursement of any
> funds. The proposed initial members of the body, are myself
> (Mike Droettboom), Eric Firing, Phil Elson, and Thomas
> Caswell, with Thomas acting as the point of contact with
> NumFOCUS.
> 
> 
> In
> practice, signing an FSA will have very little impact on the
> matplotlib project itself - it will still be BSD-licensed and
> community-driven as it has always been, and the only
> motivation for doing this is to give us an opportunity to
> apply for funding to do more work on matplotlib. We'd like to
> canvas the community's opinion on the matter, but to put a
> concrete timeline on the discussion, we would like to propose
> signing an FSA with NumFOCUS in 3 weeks (Feb 10th 2015) unless
> there is a major community discomfort with us doing so. 
> 
> 
> 
> 
> 
> 
> Cheers,
> 
> 
> Michael Droettboom
> 
> 
> 
> 
> 
> -- 
> Michael Droettboom
> Science Software Branch
> Space Telescope Science Institute
> 
> 
> http://www.droettboom.com
> 
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
> 
> 
> 
> -- 
> 
> Christopher Barker, Ph.D.
> Oceanographer
> 
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
> 
> Chr...@no...
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet_______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: Chris B. <chr...@no...> - 2015年01月21日 19:23:10
+1 -- sounds great!
On Tue, Jan 20, 2015 at 7:48 AM, Michael Droettboom <md...@st...> wrote:
>
>
>
>
>
>
>
>
> * Matplotlib is a widely used, well regarded, and powerful visualization
> library that has dominated the Python visualization stack for over a
> decade. However, to maintain that position, matplotlib must continue to
> evolve. Complementary or alternative libraries are appearing at an
> increasing rate, including browser-based plotting and GPU acceleration. To
> maintain its leadership position for the next decade, Matplotlib must
> interface with these alternatives while simultaneously expanding its
> capabilities and becoming easier to use and learn. Matplotlib’s large
> existing user base (greater than 50,000) means that new developments need
> to be carefully balanced with maintaining existing interfaces. With the
> large user and code base comes a significant maintenance and user-support
> burden. These responsibilities currently account for a majority of the
> core-developer time spent on matplotlib and has resulted in both the code
> base and community being in a healthier state than ever before. Even 6
> years ago there was no automated testing to speak of and the number of
> contributors continues to soar on github. However, this effort is, for the
> most part, done on a volunteer basis in the nights and weekends of the core
> developers. To go beyond this maintenance level—to make step-change
> improvements for the benefit of matplotlib’s users—will require funding for
> full-time developers. Inspired and encouraged by the example of IPython, we
> would like to begin the process of fundraising. Managing funding on the
> needed scale is a complex and time-consuming process. Thankfully,
> NumFOCUS, a 501(c)3 charity organisation co-founded by John Hunter, offers
> a fiscal sponsorship agreement to minimize the administrative and legal
> burden on open source projects. We would like to enlist NumFOCUS as our
> agents in all legal and financial matters, including banking, accepting
> donations as a non-profit, payroll, and access to legal counsel. As part
> of the agreement, NumFOCUS would charge a percentage of all funds raised to
> cover their costs. The full text of the agreement is attached. To comply
> with the legal and accounting requirements of a non-profit, matplotlib
> needs to form an administrative body to interact with NumFOCUS and direct
> the disbursement of any funds. The proposed initial members of the body,
> are myself (Mike Droettboom), Eric Firing, Phil Elson, and Thomas Caswell,
> with Thomas acting as the point of contact with NumFOCUS. In practice,
> signing an FSA will have very little impact on the matplotlib project
> itself - it will still be BSD-licensed and community-driven as it has
> always been, and the only motivation for doing this is to give us an
> opportunity to apply for funding to do more work on matplotlib. We'd like
> to canvas the community's opinion on the matter, but to put a concrete
> timeline on the discussion, we would like to propose signing an FSA with
> NumFOCUS in 3 weeks (Feb 10th 2015) unless there is a major community
> discomfort with us doing so. Cheers, Michael Droettboom *
>
> --
> Michael Droettboom
> Science Software Branch
> Space Telescope Science Institute
> http://www.droettboom.com
>
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
-- 
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
From: Geoffroy B. <geo...@gm...> - 2015年01月21日 17:33:24
Hi,
You can also try to pass a *color* array of size ntri (number of triangles)
to the *set_array* method of the collection returned by *plot_trisurf*.
See for instance:
http://stackoverflow.com/questions/24218543/colouring-the-surface-of-a-sphere-with-a-set-of-scalar-values-in-matplotlib/24229480#24229480
2015年01月21日 17:02 GMT+01:00 Maximilian Albert <max...@gm...>:
> Hi Byron,
>
> This is a bit of a workaround, but you can specify facecolors explicitly
> by creating a triangulation of your surface explicitly and creating a
> Poly3DCollection with these facecolors. I'm attaching an example below
> which is a modified version of the plot_trisurf demo [1] in the matplotlib
> documentation. It showcases both random colors and a smooth gradient (the
> latter in the line that's commented out).
>
> I would have thought that it should be possible to pass an argument like
> "facecolors" to plot_trisurf directly, since the documentation [2] states
> that "other arguments are passed on to Poly3DCollection". However, I
> couldn't get this to work quickly. Maybe someone else knows how?
>
> Best regards,
> Max
>
> [1] http://matplotlib.org/examples/mplot3d/trisurf3d_demo.html
> [2] http://matplotlib.org/mpl_toolkits/mplot3d/api.html
>
>
>
> from mpl_toolkits.mplot3d import Axes3D
> from matplotlib import cm
> import matplotlib.pyplot as plt
> import numpy as np
>
> from matplotlib.tri import Triangulation
> from mpl_toolkits.mplot3d.art3d import Poly3DCollection
>
> n_angles = 36
> n_radii = 8
>
> # An array of radii
> # Does not include radius r=0, this is to eliminate duplicate points
> radii = np.linspace(0.125, 1.0, n_radii)
>
> # An array of angles
> angles = np.linspace(0, 2*np.pi, n_angles, endpoint=False)
>
> # Repeat all angles for each radius
> angles = np.repeat(angles[...,np.newaxis], n_radii, axis=1)
>
> # Convert polar (radii, angles) coords to cartesian (x, y) coords
> # (0, 0) is added here. There are no duplicate points in the (x, y) plane
> x = np.append(0, (radii*np.cos(angles)).flatten())
> y = np.append(0, (radii*np.sin(angles)).flatten())
>
> # Pringle surface
> z = np.sin(-x*y)
>
> tri = Triangulation(x, y) # NOTE: This assumes that there is a nice
> projection of the surface into the x/y-plane!
> triangle_vertices = np.array([np.array([[x[T[0]], y[T[0]], z[T[0]]],
> [x[T[1]], y[T[1]], z[T[1]]],
> [x[T[2]], y[T[2]], z[T[2]]]]) for
> T in tri.triangles])
> midpoints = np.average(triangle_vertices, axis=1)
>
> def find_color_for_point(pt):
> x, y, z = pt
> col = [(y+1)/2, (1-y)/2, 0]
> return col
>
> #facecolors = [find_color_for_point(pt) for pt in midpoints] # smooth
> gradient
> facecolors = [np.random.random(3) for pt in midpoints] # random colors
>
> coll = Poly3DCollection(triangle_vertices, facecolors=facecolors,
> edgecolors='black')
>
> fig = plt.figure()
> ax = fig.gca(projection='3d')
> ax.add_collection(coll)
> ax.set_xlim(-1, 1)
> ax.set_ylim(-1, 1)
> ax.set_zlim(-1, 1)
> ax.elev = 50
>
> plt.show()
>
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
From: Byron K. B. <bkb...@be...> - 2015年01月21日 17:06:40
Thanks. This looks like it might work for me. I got your example to work, but I still need to figure out how to apply it to my problem. In particular there is the note about your Triangulation line which says that we assume there is a nice projection of the surface into the x/y-plane. Is this just a requirement of the Triangulation function or of the Poly3Dcollection? My surfaces are typically enclosed bodies, but since they’re meshed for the Electromagnetic Simulation I already know the connectivity of the vertices. Also, in your example it appears that you define one color per triangle but the trisurf files I have consist of one color per vertex. Will I need to come up with my own function for defining facecolors based on the three color values associated with each of my triangles?
Byron Boulton
From: Maximilian Albert [mailto:max...@gm...]
Sent: Wednesday, January 21, 2015 11:03 AM
To: Byron K. Boulton
Cc: mat...@li...
Subject: Re: [matplotlib-devel] trisurf plots with independent color data
Hi Byron,
This is a bit of a workaround, but you can specify facecolors explicitly by creating a triangulation of your surface explicitly and creating a Poly3DCollection with these facecolors. I'm attaching an example below which is a modified version of the plot_trisurf demo [1] in the matplotlib documentation. It showcases both random colors and a smooth gradient (the latter in the line that's commented out).
I would have thought that it should be possible to pass an argument like "facecolors" to plot_trisurf directly, since the documentation [2] states that "other arguments are passed on to Poly3DCollection". However, I couldn't get this to work quickly. Maybe someone else knows how?
Best regards,
Max
[1] http://matplotlib.org/examples/mplot3d/trisurf3d_demo.html<http://cp.mcafee.com/d/avndygscxNJ5xd5VZN5ZwTsSztcQsFzCn4kjqdQPhOCepssKrhKCqekNPbyapJ6WpEVj7cK3HCO1kxlI-to0ExYoOYD8Y_BPp3UNBVehV_bCZd7a5Di33_nVNcQsTu7tuVtdBZXAkhP3aqvbnjIyCGyyeVkffGhBrwqrhdFCXYCONtxdZZBcTsS03lSqNZpDO8s01PMY87_j5lzWPpgOspkryWOwaEuHnwsrlQfAH8-mMXjO7NC2y8DOVJ55CVEVdwLQzh0qmRtCIvmpYy1t3PfDCBQQgjzazsnjh0Ivmt3h0oBcCq89ggZrU8v2pEwJk-Ijh0xIZdKc6NP69lvVcsZE3>
[2] http://matplotlib.org/mpl_toolkits/mplot3d/api.html<http://cp.mcafee.com/d/FZsS86Qm4QnDT4nS3tPqdQPhOCepshhdETjd7aoVBNOVJ6WpEVj7cK8FCQrFCzBcsOUeKr85i5mPVRw2y7NzbOszP-ndAfz6nAV7DYKrQQsEmt8cfZvD4PhPtUtRXBQSnTKhh7ccFFYJteOaqGa8XBgY-F6lK1FJcSCrLOrb5S4TTSkPtPo0dnpH7RCv8xM075lzNmtqDBpjFyGNZpIEpGQK1NJng-iIzVr3Jf8v6oa8yvbCQkmrCzAS2_id41FrlSqNZpDO85Qfc-uqnjh1ecGdNtd42NZpQd41ykOpEwB13RLwxY9Cy2RjWNd426PQSUMrQ0np3acf>
from mpl_toolkits.mplot3d import Axes3D
from matplotlib import cm
import matplotlib.pyplot as plt
import numpy as np
from matplotlib.tri import Triangulation
from mpl_toolkits.mplot3d.art3d import Poly3DCollection
n_angles = 36
n_radii = 8
# An array of radii
# Does not include radius r=0, this is to eliminate duplicate points
radii = np.linspace(0.125, 1.0, n_radii)
# An array of angles
angles = np.linspace(0, 2*np.pi, n_angles, endpoint=False)
# Repeat all angles for each radius
angles = np.repeat(angles[...,np.newaxis], n_radii, axis=1)
# Convert polar (radii, angles) coords to cartesian (x, y) coords
# (0, 0) is added here. There are no duplicate points in the (x, y) plane
x = np.append(0, (radii*np.cos(angles)).flatten())
y = np.append(0, (radii*np.sin(angles)).flatten())
# Pringle surface
z = np.sin(-x*y)
tri = Triangulation(x, y) # NOTE: This assumes that there is a nice projection of the surface into the x/y-plane!
triangle_vertices = np.array([np.array([[x[T[0]], y[T[0]], z[T[0]]],
 [x[T[1]], y[T[1]], z[T[1]]],
 [x[T[2]], y[T[2]], z[T[2]]]]) for T in tri.triangles])
midpoints = np.average(triangle_vertices, axis=1)
def find_color_for_point(pt):
 x, y, z = pt
 col = [(y+1)/2, (1-y)/2, 0]
 return col
#facecolors = [find_color_for_point(pt) for pt in midpoints] # smooth gradient
facecolors = [np.random.random(3) for pt in midpoints] # random colors
coll = Poly3DCollection(triangle_vertices, facecolors=facecolors, edgecolors='black')
fig = plt.figure()
ax = fig.gca(projection='3d')
ax.add_collection(coll)
ax.set_xlim(-1, 1)
ax.set_ylim(-1, 1)
ax.set_zlim(-1, 1)
ax.elev = 50
plt.show()
From: Maximilian A. <max...@gm...> - 2015年01月21日 16:02:43
Hi Byron,
This is a bit of a workaround, but you can specify facecolors explicitly by
creating a triangulation of your surface explicitly and creating a
Poly3DCollection with these facecolors. I'm attaching an example below
which is a modified version of the plot_trisurf demo [1] in the matplotlib
documentation. It showcases both random colors and a smooth gradient (the
latter in the line that's commented out).
I would have thought that it should be possible to pass an argument like
"facecolors" to plot_trisurf directly, since the documentation [2] states
that "other arguments are passed on to Poly3DCollection". However, I
couldn't get this to work quickly. Maybe someone else knows how?
Best regards,
Max
[1] http://matplotlib.org/examples/mplot3d/trisurf3d_demo.html
[2] http://matplotlib.org/mpl_toolkits/mplot3d/api.html
from mpl_toolkits.mplot3d import Axes3D
from matplotlib import cm
import matplotlib.pyplot as plt
import numpy as np
from matplotlib.tri import Triangulation
from mpl_toolkits.mplot3d.art3d import Poly3DCollection
n_angles = 36
n_radii = 8
# An array of radii
# Does not include radius r=0, this is to eliminate duplicate points
radii = np.linspace(0.125, 1.0, n_radii)
# An array of angles
angles = np.linspace(0, 2*np.pi, n_angles, endpoint=False)
# Repeat all angles for each radius
angles = np.repeat(angles[...,np.newaxis], n_radii, axis=1)
# Convert polar (radii, angles) coords to cartesian (x, y) coords
# (0, 0) is added here. There are no duplicate points in the (x, y) plane
x = np.append(0, (radii*np.cos(angles)).flatten())
y = np.append(0, (radii*np.sin(angles)).flatten())
# Pringle surface
z = np.sin(-x*y)
tri = Triangulation(x, y) # NOTE: This assumes that there is a nice
projection of the surface into the x/y-plane!
triangle_vertices = np.array([np.array([[x[T[0]], y[T[0]], z[T[0]]],
 [x[T[1]], y[T[1]], z[T[1]]],
 [x[T[2]], y[T[2]], z[T[2]]]]) for T
in tri.triangles])
midpoints = np.average(triangle_vertices, axis=1)
def find_color_for_point(pt):
 x, y, z = pt
 col = [(y+1)/2, (1-y)/2, 0]
 return col
#facecolors = [find_color_for_point(pt) for pt in midpoints] # smooth
gradient
facecolors = [np.random.random(3) for pt in midpoints] # random colors
coll = Poly3DCollection(triangle_vertices, facecolors=facecolors,
edgecolors='black')
fig = plt.figure()
ax = fig.gca(projection='3d')
ax.add_collection(coll)
ax.set_xlim(-1, 1)
ax.set_ylim(-1, 1)
ax.set_zlim(-1, 1)
ax.elev = 50
plt.show()
From: Byron K. B. <bkb...@be...> - 2015年01月21日 13:47:34
I often have Electromagnetic surface current data which I use MATLAB's trisurf function to plot. Since the surfaces are 3-dimensional I need a trisurf plotting tool which lets me specify the color of each triangle/vertex. MATLAB's trisurf function allows me to do that by passing it an array of colors (http://www.mathworks.com/help/matlab/ref/trisurf.html) along with the arrays of X, Y, and Z coordinates of vertices. 
Matplotlib's plot_trisurf from mplot3d only seems to allow me to specify one constant color for the entire trisurf plot or to color the triangles according to the z-coordinates. Are there any plans to add this functionality to mplot3d's plot_trisurf? Does anyone here know how difficult it would be?
Byron Boulton
From: Eric F. <ef...@ha...> - 2015年01月21日 05:15:58
Tom,
Thanks for setting this up.
Eric
On 2015年01月20日 4:38 PM, Thomas Caswell wrote:
> The column asignments are tags + open/close status.
>
> https://waffle.io/matplotlib/matplotlib/settings/columns _should_ drop
> you to the webpage that lets you see how they are controlled (you might
> need to log in to see it). It has been set up for a while now and no
> one has complained about GH breaking, so I think it is pretty
> side-effect less.
>
> Tom
>
> On Tue Jan 20 2015 at 5:10:47 PM Eric Firing <ef...@ha...
> <mailto:ef...@ha...>> wrote:
>
> Looks good to me. As far as I can see, it is not doing anything that
> would interfere with ordinary direct github use.
>
> What determines the column assignments? A combination of tags and
> open/closed status? Is there something else going on?
>
> Eric
>
> On 2015年01月20日 6:13 AM, Michael Droettboom wrote:
> > I like it. I could make some nitpicks, but I think it's clearly
> > superior to raw github alone, and on that basis I have no
> objections. I
> > think we should make sure we don't make the experience using github
> > alone any worse, though, as I'm sure for some the familiarity
> there from
> > other projects will be most important. It doesn't *seem* like it
> does,
> > but I think it's important to consider.
> >
> > Mike
> >
> > On 01/18/2015 04:52 PM, R Hattersley wrote:
> >> You need an extra "matplotlib" ...
> https://waffle.io/matplotlib/__matplotlib
> <https://waffle.io/matplotlib/matplotlib>
> >>
> >> On 17 January 2015 at 19:29, Thomas Caswell <tca...@gm...
> <mailto:tca...@gm...>
> >> <mailto:tca...@gm... <mailto:tca...@gm...>>> wrote:
> >>
> >> Hey all,
> >>
> >> We have set up waffle.io <http://waffle.io>
> <http://waffle.io> to try and help manage
> >> our issues: https://waffle.io/matplotlib/
> >>
> >> If you have commit rights, you should be able to move the cards
> >> around.
> >>
> >> Any thoughts on this tool? I would like to use this to keep
> track
> >> of the review state of PRs.
> >>
> >> Tom
> >>
> >>
> ------------------------------__------------------------------__------------------
> >> New Year. New Location. New Benefits. New Data Center in
> Ashburn, VA.
> >> GigeNET is offering a free month of service with a new server in
> >> Ashburn.
> >> Choose from 2 high performing configs, both with 100TB of
> bandwidth.
> >> Higher redundancy.Lower latency.Increased capacity.Completely
> >> compliant.
> >> http://p.sf.net/sfu/gigenet
> >> _________________________________________________
> >> Matplotlib-devel mailing list
> >> Matplotlib-devel@lists.__sourceforge.net
> <mailto:Mat...@li...>
> >> <mailto:Matplotlib-devel@__lists.sourceforge.net
> <mailto:Mat...@li...>>
> >>
> https://lists.sourceforge.net/__lists/listinfo/matplotlib-__devel
> <https://lists.sourceforge.net/lists/listinfo/matplotlib-devel>
> >>
> >>
> >>
> >>
> >>
> ------------------------------__------------------------------__------------------
> >> New Year. New Location. New Benefits. New Data Center in
> Ashburn, VA.
> >> GigeNET is offering a free month of service with a new server in
> Ashburn.
> >> Choose from 2 high performing configs, both with 100TB of bandwidth.
> >> Higher redundancy.Lower latency.Increased capacity.Completely
> compliant.
> >> http://p.sf.net/sfu/gigenet
> >>
> >>
> >> _________________________________________________
> >> Matplotlib-devel mailing list
> >> Matplotlib-devel@lists.__sourceforge.net
> <mailto:Mat...@li...>
> >>
> https://lists.sourceforge.net/__lists/listinfo/matplotlib-__devel
> <https://lists.sourceforge.net/lists/listinfo/matplotlib-devel>
> >
> >
> > --
> > Michael Droettboom
> > Science Software Branch
> > Space Telescope Science Institute
> >
> > http://www.droettboom.com
> >
> >
> >
> >
> ------------------------------__------------------------------__------------------
> > New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> > GigeNET is offering a free month of service with a new server in
> Ashburn.
> > Choose from 2 high performing configs, both with 100TB of bandwidth.
> > Higher redundancy.Lower latency.Increased capacity.Completely
> compliant.
> > http://p.sf.net/sfu/gigenet
> >
> >
> >
> > _________________________________________________
> > Matplotlib-devel mailing list
> > Matplotlib-devel@lists.__sourceforge.net
> <mailto:Mat...@li...>
> > https://lists.sourceforge.net/__lists/listinfo/matplotlib-__devel
> <https://lists.sourceforge.net/lists/listinfo/matplotlib-devel>
> >
>
>
> ------------------------------__------------------------------__------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in
> Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _________________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.__sourceforge.net
> <mailto:Mat...@li...>
> https://lists.sourceforge.net/__lists/listinfo/matplotlib-__devel
> <https://lists.sourceforge.net/lists/listinfo/matplotlib-devel>
>
+1
Best,
-Michiel
--------------------------------------------
On Wed, 1/21/15, Michael Droettboom <md...@st...> wrote:
 Subject: [Matplotlib-users] Matplotlib and Numfocus Fiscal Sponsorship	Agreement (FSA)
 To: "mat...@li..." <mat...@li...>, "matplotlib-users" <mat...@li...>
 Date: Wednesday, January 21, 2015, 12:48 AM
 
 
 
 
 
 
 
 
 
 Matplotlib
 is a widely used, well regarded, and powerful
 visualization
 library that has dominated the Python
 visualization stack for
 over a decade. However, to maintain that position,
 matplotlib
 must continue to evolve. Complementary or
 alternative
 libraries are appearing at an increasing rate,
 including
 browser-based plotting and GPU acceleration. To
 maintain its
 leadership position for the next decade,
 Matplotlib must
 interface with these alternatives while
 simultaneously
 expanding its capabilities and becoming easier to
 use and
 learn.
 
 
 Matplotlib’s
 large existing user base (greater than 50,000)
 means that new
 developments need to be carefully balanced with
 maintaining
 existing interfaces. With the large user and
 code base comes
 a significant maintenance and user-support burden.
 These
 responsibilities currently account for a majority
 of the
 core-developer time spent on matplotlib and has
 resulted in
 both the code base and community being in a
 healthier state
 than ever before. Even 6 years ago there was no
 automated
 testing to speak of and the number of contributors
 continues
 to soar on github. However, this effort is, for
 the most part,
 done on a volunteer basis in the nights and
 weekends of the
 core developers. To go beyond this maintenance
 level—to make
 step-change improvements for the benefit of
 matplotlib’s
 users—will require funding for full-time
 developers. Inspired
 and encouraged by the example of IPython, we would
 like to
 begin the process of fundraising.
 
 
 Managing
 funding on the needed scale is a complex and
 time-consuming
 process. Thankfully, NumFOCUS, a 501(c)3 charity
 organisation
 co-founded by John Hunter, offers a fiscal
 sponsorship
 agreement to minimize the administrative and legal
 burden on
 open source projects. We would like to enlist
 NumFOCUS as our
 agents in all legal and financial matters,
 including banking,
 accepting donations as a non-profit, payroll, and
 access to
 legal counsel. As part of the agreement,
 NumFOCUS would
 charge a percentage of all funds raised to cover
 their costs.
 The full text of the agreement is
 attached.
 
 
 To
 comply with the legal and accounting requirements
 of a
 non-profit, matplotlib needs to form an
 administrative body to
 interact with NumFOCUS and direct the disbursement
 of any
 funds. The proposed initial members of the body,
 are myself
 (Mike Droettboom), Eric Firing, Phil Elson, and
 Thomas
 Caswell, with Thomas acting as the point of
 contact with
 NumFOCUS.
 
 
 In
 practice, signing an FSA will have very little
 impact on the
 matplotlib project itself - it will still be
 BSD-licensed and
 community-driven as it has always been, and the
 only
 motivation for doing this is to give us an
 opportunity to
 apply for funding to do more work on matplotlib.
 We'd like to
 canvas the community's opinion on the matter,
 but to put a
 concrete timeline on the discussion, we would like
 to propose
 signing an FSA with NumFOCUS in 3 weeks (Feb 10th
 2015) unless
 there is a major community discomfort with us
 doing so. 
 
 
 
 
 Cheers,
 
 Michael Droettboom
 
 
 
 
 
 -- 
 Michael Droettboom
 Science Software Branch
 Space Telescope Science Institute
 
 http://www.droettboom.com
 
 
 
 -----Inline Attachment Follows-----
 
 ------------------------------------------------------------------------------
 New Year. New Location. New Benefits. New Data Center in
 Ashburn, VA.
 GigeNET is offering a free month of service with a new
 server in Ashburn.
 Choose from 2 high performing configs, both with 100TB of
 bandwidth.
 Higher redundancy.Lower latency.Increased
 capacity.Completely compliant.
 http://p.sf.net/sfu/gigenet
 -----Inline Attachment Follows-----
 
 _______________________________________________
 Matplotlib-users mailing list
 Mat...@li...
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users
 
From: Thomas C. <tca...@gm...> - 2015年01月21日 02:38:19
The column asignments are tags + open/close status.
https://waffle.io/matplotlib/matplotlib/settings/columns _should_ drop you
to the webpage that lets you see how they are controlled (you might need to
log in to see it). It has been set up for a while now and no one has
complained about GH breaking, so I think it is pretty side-effect less.
Tom
On Tue Jan 20 2015 at 5:10:47 PM Eric Firing <ef...@ha...> wrote:
> Looks good to me. As far as I can see, it is not doing anything that
> would interfere with ordinary direct github use.
>
> What determines the column assignments? A combination of tags and
> open/closed status? Is there something else going on?
>
> Eric
>
> On 2015年01月20日 6:13 AM, Michael Droettboom wrote:
> > I like it. I could make some nitpicks, but I think it's clearly
> > superior to raw github alone, and on that basis I have no objections. I
> > think we should make sure we don't make the experience using github
> > alone any worse, though, as I'm sure for some the familiarity there from
> > other projects will be most important. It doesn't *seem* like it does,
> > but I think it's important to consider.
> >
> > Mike
> >
> > On 01/18/2015 04:52 PM, R Hattersley wrote:
> >> You need an extra "matplotlib" ... https://waffle.io/matplotlib/
> matplotlib
> >>
> >> On 17 January 2015 at 19:29, Thomas Caswell <tca...@gm...
> >> <mailto:tca...@gm...>> wrote:
> >>
> >> Hey all,
> >>
> >> We have set up waffle.io <http://waffle.io> to try and help manage
> >> our issues: https://waffle.io/matplotlib/
> >>
> >> If you have commit rights, you should be able to move the cards
> >> around.
> >>
> >> Any thoughts on this tool? I would like to use this to keep track
> >> of the review state of PRs.
> >>
> >> Tom
> >>
> >> ------------------------------------------------------------
> ------------------
> >> New Year. New Location. New Benefits. New Data Center in Ashburn,
> VA.
> >> GigeNET is offering a free month of service with a new server in
> >> Ashburn.
> >> Choose from 2 high performing configs, both with 100TB of bandwidth.
> >> Higher redundancy.Lower latency.Increased capacity.Completely
> >> compliant.
> >> http://p.sf.net/sfu/gigenet
> >> _______________________________________________
> >> Matplotlib-devel mailing list
> >> Mat...@li...
> >> <mailto:Mat...@li...>
> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >>
> >>
> >>
> >>
> >> ------------------------------------------------------------
> ------------------
> >> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> >> GigeNET is offering a free month of service with a new server in
> Ashburn.
> >> Choose from 2 high performing configs, both with 100TB of bandwidth.
> >> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> >> http://p.sf.net/sfu/gigenet
> >>
> >>
> >> _______________________________________________
> >> Matplotlib-devel mailing list
> >> Mat...@li...
> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >
> >
> > --
> > Michael Droettboom
> > Science Software Branch
> > Space Telescope Science Institute
> >
> > http://www.droettboom.com
> >
> >
> >
> > ------------------------------------------------------------
> ------------------
> > New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> > GigeNET is offering a free month of service with a new server in Ashburn.
> > Choose from 2 high performing configs, both with 100TB of bandwidth.
> > Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> > http://p.sf.net/sfu/gigenet
> >
> >
> >
> > _______________________________________________
> > Matplotlib-devel mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >
>
>
> ------------------------------------------------------------
> ------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Eric F. <ef...@ha...> - 2015年01月20日 22:10:15
Looks good to me. As far as I can see, it is not doing anything that 
would interfere with ordinary direct github use.
What determines the column assignments? A combination of tags and 
open/closed status? Is there something else going on?
Eric
On 2015年01月20日 6:13 AM, Michael Droettboom wrote:
> I like it. I could make some nitpicks, but I think it's clearly
> superior to raw github alone, and on that basis I have no objections. I
> think we should make sure we don't make the experience using github
> alone any worse, though, as I'm sure for some the familiarity there from
> other projects will be most important. It doesn't *seem* like it does,
> but I think it's important to consider.
>
> Mike
>
> On 01/18/2015 04:52 PM, R Hattersley wrote:
>> You need an extra "matplotlib" ... https://waffle.io/matplotlib/matplotlib
>>
>> On 17 January 2015 at 19:29, Thomas Caswell <tca...@gm...
>> <mailto:tca...@gm...>> wrote:
>>
>> Hey all,
>>
>> We have set up waffle.io <http://waffle.io> to try and help manage
>> our issues: https://waffle.io/matplotlib/
>>
>> If you have commit rights, you should be able to move the cards
>> around.
>>
>> Any thoughts on this tool? I would like to use this to keep track
>> of the review state of PRs.
>>
>> Tom
>>
>> ------------------------------------------------------------------------------
>> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
>> GigeNET is offering a free month of service with a new server in
>> Ashburn.
>> Choose from 2 high performing configs, both with 100TB of bandwidth.
>> Higher redundancy.Lower latency.Increased capacity.Completely
>> compliant.
>> http://p.sf.net/sfu/gigenet
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> <mailto:Mat...@li...>
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
>> GigeNET is offering a free month of service with a new server in Ashburn.
>> Choose from 2 high performing configs, both with 100TB of bandwidth.
>> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
>> http://p.sf.net/sfu/gigenet
>>
>>
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
> --
> Michael Droettboom
> Science Software Branch
> Space Telescope Science Institute
>
> http://www.droettboom.com
>
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
>
>
>
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Michael D. <md...@st...> - 2015年01月20日 16:13:51
I like it. I could make some nitpicks, but I think it's clearly 
superior to raw github alone, and on that basis I have no objections. I 
think we should make sure we don't make the experience using github 
alone any worse, though, as I'm sure for some the familiarity there from 
other projects will be most important. It doesn't *seem* like it does, 
but I think it's important to consider.
Mike
On 01/18/2015 04:52 PM, R Hattersley wrote:
> You need an extra "matplotlib" ... https://waffle.io/matplotlib/matplotlib
>
> On 17 January 2015 at 19:29, Thomas Caswell <tca...@gm... 
> <mailto:tca...@gm...>> wrote:
>
> Hey all,
>
> We have set up waffle.io <http://waffle.io> to try and help manage
> our issues: https://waffle.io/matplotlib/
>
> If you have commit rights, you should be able to move the cards
> around.
>
> Any thoughts on this tool? I would like to use this to keep track
> of the review state of PRs.
>
> Tom
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in
> Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely
> compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> <mailto:Mat...@li...>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
>
>
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
-- 
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
http://www.droettboom.com
From: Michael D. <md...@st...> - 2015年01月20日 15:48:12
Attachments: NumFOCUS-FSA.pdf
*
Matplotlib is a widely used, well regarded, and powerful visualization 
library that has dominated the Python visualization stack for over a 
decade. However, to maintain that position, matplotlib must continue to 
evolve. Complementary or alternative libraries are appearing at an 
increasing rate, including browser-based plotting and GPU acceleration. 
To maintain its leadership position for the next decade, Matplotlib must 
interface with these alternatives while simultaneously expanding its 
capabilities and becoming easier to use and learn.
Matplotlib’s large existing user base (greater than 50,000) means that 
new developments need to be carefully balanced with maintaining existing 
interfaces. With the large user and code base comes a significant 
maintenance and user-support burden. These responsibilities currently 
account for a majority of the core-developer time spent on matplotlib 
and has resulted in both the code base and community being in a 
healthier state than ever before. Even 6 years ago there was no 
automated testing to speak of and the number of contributors continues 
to soar on github. However, this effort is, for the most part, done on a 
volunteer basis in the nights and weekends of the core developers. To 
go beyond this maintenance level—to make step-change improvements for 
the benefit of matplotlib’s users—will require funding for full-time 
developers. Inspired and encouraged by the example of IPython, we would 
like to begin the process of fundraising.
Managing funding on the needed scale is a complex and time-consuming 
process. Thankfully, NumFOCUS, a 501(c)3 charity organisation 
co-founded by John Hunter, offers a fiscal sponsorship agreement to 
minimize the administrative and legal burden on open source projects. We 
would like to enlist NumFOCUS as our agents in all legal and financial 
matters, including banking, accepting donations as a non-profit, 
payroll, and access to legal counsel. As part of the agreement, 
NumFOCUS would charge a percentage of all funds raised to cover their 
costs. The full text of the agreement is attached.
To comply with the legal and accounting requirements of a non-profit, 
matplotlib needs to form an administrative body to interact with 
NumFOCUS and direct the disbursement of any funds. The proposed initial 
members of the body, are myself (Mike Droettboom), Eric Firing, Phil 
Elson, and Thomas Caswell, with Thomas acting as the point of contact 
with NumFOCUS.
In practice, signing an FSA will have very little impact on the 
matplotlib project itself - it will still be BSD-licensed and 
community-driven as it has always been, and the only motivation for 
doing this is to give us an opportunity to apply for funding to do more 
work on matplotlib. We'd like to canvas the community's opinion on the 
matter, but to put a concrete timeline on the discussion, we would like 
to propose signing an FSA with NumFOCUS in 3 weeks (Feb 10th 2015) 
unless there is a major community discomfort with us doing so.
Cheers,
Michael Droettboom
*
-- 
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
http://www.droettboom.com
From: Benjamin R. <bre...@gm...> - 2015年01月20日 14:55:27
I wondered if someone could take a look at Issue #3918 (https://github.com/matplotlib/matplotlib/issues/3918). As you can see in my last two posts, everything works fine if I have one bbox image or if I don't save as a pdf. However, if I have two bbox images, the images move when I save as a pdf. 
This seems like a relatively small issue to fix, so I have tried to debug the problem, but I have been unable to find the source of the issue. If anyone could point me toward where the problematic code is, I would be happy to fix it, test it, and submit the PR.
-Ben (Stretch97)
From: R H. <rha...@gm...> - 2015年01月18日 21:52:50
You need an extra "matplotlib" ... https://waffle.io/matplotlib/matplotlib
On 17 January 2015 at 19:29, Thomas Caswell <tca...@gm...> wrote:
> Hey all,
>
> We have set up waffle.io to try and help manage our issues:
> https://waffle.io/matplotlib/
>
> If you have commit rights, you should be able to move the cards around.
>
> Any thoughts on this tool? I would like to use this to keep track of the
> review state of PRs.
>
> Tom
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
From: Benjamin R. <ben...@ou...> - 2015年01月17日 23:43:22
Same here... and you are making me hungry!
On Sat, Jan 17, 2015 at 3:28 PM, Eric Firing <ef...@ha...> wrote:
> On 2015年01月17日 9:29 AM, Thomas Caswell wrote:
> > Hey all,
> >
> > We have set up waffle.io <http://waffle.io> to try and help manage our
> > issues: https://waffle.io/matplotlib/
>
> That link gives me a 404.
>
> Eric
>
> >
> > If you have commit rights, you should be able to move the cards around.
> >
> > Any thoughts on this tool? I would like to use this to keep track of the
> > review state of PRs.
> >
> > Tom
> >
>
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Eric F. <ef...@ha...> - 2015年01月17日 20:51:54
On 2015年01月17日 9:29 AM, Thomas Caswell wrote:
> Hey all,
>
> We have set up waffle.io <http://waffle.io> to try and help manage our
> issues: https://waffle.io/matplotlib/
That link gives me a 404.
Eric
>
> If you have commit rights, you should be able to move the cards around.
>
> Any thoughts on this tool? I would like to use this to keep track of the
> review state of PRs.
>
> Tom
>

Showing results of 50

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