On Jul 9, 2010, at 22:11, John Hunter <jdh2...@gmail.com> wrote:

> On Fri, Jul 9, 2010 at 9:59 PM, Eric Firing <efir...@hawaii.edu> wrote:
>> On 07/09/2010 11:45 AM, Ryan May wrote:
>>> Hi,
>>> 
>>> I just noticed that ContourSet only inherits ScalarMappable and
>>> ContourLabeller, neither of which is an Artist subclass, which means
>>> ContourSet is not an Artist. (And is why it does not have a remove()
>>> method).  Anyone have any idea why and if we should correct that? I'm
>>> not sure what the ramifications would be.
>> 
>> It's just historical.  Should every plotting command return an Artist,
>> simple or compound?  If so, I suspect contouring is not the only thing
>> that will need refactoring.  I haven't investigated what would be required.
> 
> Ryan, was there a particular use case in which you found that CS was
> not an Artist to be a limitation, or were you just asking out of
> curiosit

Looking at adding a remove method, per another thread. I was confused by the 
lack of standard machinery, and wasn't sure if I should just add remove method 
or make it an artist.

Ryan


> 
> JDH
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to