On Mon, Sep 27, 2010 at 8:57 PM, Benjamin Root <ben.r...@ou.edu> wrote:
> On Mon, Sep 27, 2010 at 1:47 PM, Eric Firing <efir...@hawaii.edu> wrote:
>
>> On 09/27/2010 08:35 AM, Benjamin Root wrote:
>> > On Mon, Sep 27, 2010 at 1:27 PM, Eric Firing <efir...@hawaii.edu
>> > <mailto:efir...@hawaii.edu>> wrote:
>> >
>> > On 09/27/2010 03:46 AM, Dieter Weber wrote:
>> > > Hi,
>> > > I'm using matplotlib embedded in my wxpython application and
>> > needed to
>> > > give users a quick way to relimit a figure, for example after
>> > removing a
>> > > line from a plot. Therefore I added a button to the toolbar. Do
>> you
>> > > think it would make sense to include this in matplotlib by
>> default?
>> >
>> > I don't think it would. The standard toolbar is for typical
>> interactive
>> > use, where I don't think the relimit functionality is needed often
>> > enough to justify having its own button--if at all. Better to keep
>> that
>> > toolbar simple.
>> >
>> > Eric
>> >
>> >
>> > Just playing devil's advocate here...
>> >
>> > Considering how we can now have multiple show() calls and with the
>> > upcoming ipython looking more and more spiffy, could there be a future
>> > use case for this toolbar button?
>> >
>> > On the other hand, how would the inclusion of this button impact users
>> > of other interactive scripts that have added their own buttons? I mean,
>> > planning for the future, can it be definitively said that matplotlib
>> > will never add anymore toolbar buttons? Could developers rely on that
>> > real estate not being taken over by rule of "eminent domain", if you
>> will?
>> >
>> > Ben Root
>> >
>>
>> Ben,
>>
>> I don't understand either of your questions. What's the point?
>>
>> Eric
>>
>>
> First, I am asking if there are no use-cases for this button in the future
> with the advent of an improved ipython environment? In other words, more
> people may use matplotlib+ipython like a regular MATLAB environment. Could
> this button be a useful feature later?
>
> Second, irregardless of whether this button is included or not, there have
> been app developers who have added buttons to the toolbar for their own
> use. Can these developers count on that real estate to always be free? Can
> we definitively say that matplotlib will never have more buttons added to
> its default toolbar?
>
> Does that make more sense?
>
>
A feature-set that MATLAB has and is missing from matplotlib is editing the
plot via the GUI. You can actually remove lines from the plot without typing
anything in the interpreter. I think it is via a line properties menu, but
maybe you can also get there by right-clicking the line and choosing delete
(can't recall, I'll have to check).
If/when we add support for such things in mpl, the relimit button would
become much more useful.
Until we have that, I think JDH's idea for cross-GUI configurable toolbars
is a better target to aim for.
AA
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel