SourceForge logo
SourceForge logo
Menu

Re: [Matplotlib-users] pick event for images

From: Joe K. <jof...@gm...> - 2013年11月02日 18:07:49
Hi Daniele,
First off, the FSF uses and endorses a number of non GPL licenses. They
reccomend the Apache license over MIT-style licenses for permissive cases
due to patent issues, but they don't require it. In fact, even the GNU
project has several X11 (the FSF's name for the MIT license) licensed
projects (e.g. Off the top of my head, I know ncurses is both an official
GNU project and is X11-licensed.).
However, I'm glad you brought this up. I haven't actually filled out a
copyright transfer form to the FSF. I intended to at one point, but never
did and didn't think about the copyright assignment in the license header
very much. Not doing so, and leaving copyright in the name of any potential
contributors actually makes things quite a bit simpler.
At any rate, it's certainly something I should clarify.
Thanks!
-Joe
On Sat, Nov 2, 2013 at 11:55 AM, Daniele Nicolodi <da...@gr...>wrote:
> Hello Joe,
>
> I accidentally had a look at the source file you linked to and I found
> the copyright and license terms quite strange. Are you really
> transferring copyright for your work to the Free Software Foundation
> which is releasing it under the MIT license? I find very strange that
> the FSF is using a license other than the (L)GPL. Does it also mean
> that who wants to contribute to your project must sign a copyright
> assignment to the FSF?
>
> I'm puzzled.
>
> Best,
> Daniele
>
>
> On 30/10/2013 17:58, Joe Kington wrote:
> >
> > On Oct 30, 2013 9:43 AM, "Nils Wagner" <ni...@go...
> > <mailto:ni...@go...>> wrote:
> >>
> >> Hi all,
> >>
> >> How can I retrieve the corresponding "color value" in percent, when I
> > click on the image ?
> >>
> >
> > You have to jump through a couple of hoops.
> >
> > Have a look at the _coords2index function in pick_info.py for
> > mpldatacursor.
> >
> https://github.com/joferkington/mpldatacursor/blob/master/mpldatacursor/pick_info.py
> >
> > Also, mpldatacursor might be useful for what you're doing. Not to plug
> > my own project too much, but it does exactly this, among other things.
> >
> > Hope that helps!
> > -Joe
> >
> >> fig = plt.figure()
> >> ax = fig.add_subplot(111)
> >> cax = ax.imshow(col[:,::2],
> interpolation='nearest',extent=[0.5,20.5,0.5,2
> >> 0.5],alpha=1,picker=5)
> >>
> >> fig.canvas.mpl_connect('pick_event', onpick)
> >>
> >> def onpick(event):
> >> ...
> >>
> >>
> >> Nils
> >>
> >>
> >>
> >
> ------------------------------------------------------------------------------
> >> Android is increasing in popularity, but the open development platform
> > that
> >> developers love is also attractive to malware creators. Download this
> > white
> >> paper to learn more about secure code signing practices that can help
> keep
> >> Android apps secure.
> >>
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> >> _______________________________________________
> >> Matplotlib-users mailing list
> >> Mat...@li...
> > <mailto:Mat...@li...>
> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >>
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Android is increasing in popularity, but the open development platform
> that
> > developers love is also attractive to malware creators. Download this
> white
> > paper to learn more about secure code signing practices that can help
> keep
> > Android apps secure.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> >
> >
> >
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
>
>
>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

View entire thread

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