SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Question about getters and setters.

From: Brian G. <ell...@gm...> - 2015年05月15日 20:40:13
OK i have the MEP for this on my todo list...
On Thu, May 14, 2015 at 5:47 AM, Benjamin Root <ben...@ou...> wrote:
> You could start up a Pull Request describing a MEP that would outline how
> traitlets would be used. The discussion can go on there to flesh out the
> concepts and the guidance documentation. Once that is agreed upon, that PR
> would get merged, and we can then start up a new PR actually implementing
> the MEP.
>
> On Thu, May 14, 2015 at 3:03 AM, Brian Granger <ell...@gm...>
> wrote:
>
>> Great, that is exciting. What do you think is the best way forward?
>> Should I open an issue on the matplotlib repo about this? Would there be
>> interest in doing a Google+ hangout about this at some point?
>>
>> On Wed, May 13, 2015 at 11:57 PM, Eric Firing <ef...@ha...> wrote:
>>
>>> On 2015年05月13日 7:45 PM, Brian Granger wrote:
>>>
>>>> We (ipython/jupyter) have been talking some more about integrating
>>>> matplotlilb in deeper ways with the interactive widgets framework. That
>>>> only thing that would be required to make this *trivial* is having a
>>>> traitlet's based API for matplotlib. I have even started to look at
>>>> wrapping the existing mpl OO API using traitlets to start to explore
>>>> this. Once this was done, it would be quite easy to autogenerate UIs for
>>>> any aspect of Matplotlib.
>>>>
>>>> Now that traitlets is a standalone pure python package:
>>>>
>>>> https://github.com/ipython/traitlets
>>>>
>>>> this would be much easier to pull off.
>>>>
>>>> If there is interest in this, we might even be able to help do some of
>>>> the work. Let us know if there is enough interest to discuss this
>>>> further.
>>>>
>>>
>>> No question about it: there is more than enough interest.
>>>
>>> Eric
>>>
>>>
>>>> Cheers,
>>>>
>>>> Brian
>>>>
>>>> On Wed, May 13, 2015 at 9:36 PM, Eric Firing <ef...@ha...
>>>> <mailto:ef...@ha...>> wrote:
>>>>
>>>> On 2015年05月13日 5:47 PM, Neil Girdhar wrote:
>>>> > You're right. My angle is I just want the setters and getters.
>>>> Writing
>>>> > set_ and get_ feels like the C++ prison I thought I had escaped :)
>>>> >
>>>> John Hunter once commented that if he were doing it over again he
>>>> would
>>>> not have put in all the set_ and get_; they were a legacy of his
>>>> origins
>>>> as a C++ programmer. I think he would have started with simple
>>>> attributes, which would have been adequate in the early stages.
>>>> Properties were very new--only introduced in Python 2.2, at the end
>>>> of 2001.
>>>>
>>>> Eric
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> One dashboard for servers and applications across
>>>> Physical-Virtual-Cloud
>>>> Widest out-of-the-box monitoring support with 50+ applications
>>>> Performance metrics, stats and reports that give you Actionable
>>>> Insights
>>>> Deep dive visibility with transaction tracing using APM Insight.
>>>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>>> _______________________________________________
>>>> Matplotlib-devel mailing list
>>>> Mat...@li...
>>>> <mailto:Mat...@li...>
>>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Brian E. Granger
>>>> Cal Poly State University, San Luis Obispo
>>>> @ellisonbg on Twitter and GitHub
>>>> bgr...@ca... <mailto:bgr...@ca...> and
>>>> ell...@gm... <mailto:ell...@gm...>
>>>>
>>>
>>>
>>
>>
>> --
>> Brian E. Granger
>> Cal Poly State University, San Luis Obispo
>> @ellisonbg on Twitter and GitHub
>> bgr...@ca... and ell...@gm...
>>
>>
>> ------------------------------------------------------------------------------
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
>>
>
-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgr...@ca... and ell...@gm...

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