Manipulation of legend parameters from the navigation toolbar #682

Closed
nilswagner01 opened this Issue Jan 18, 2012 · 8 comments

Comments

Projects
None yet
6 participants
@nilswagner01

It is already possible to edit curves line and axes parameters.
It would be nice if one could edit the legend parameters as well.

@Petahhh

This comment has been minimized.

Show comment Hide comment
@Petahhh

Petahhh Mar 12, 2012

What would you be interested in specifying exactly? Do you want to be able to change the colour or the thickness of the lines?

Petahhh commented Mar 12, 2012

What would you be interested in specifying exactly? Do you want to be able to change the colour or the thickness of the lines?

@nilswagner01

This comment has been minimized.

Show comment Hide comment
@nilswagner01

nilswagner01 Mar 20, 2012

I would like to change the legend text.

I would like to change the legend text.

@nilswagner01

This comment has been minimized.

Show comment Hide comment
@nilswagner01

nilswagner01 Apr 4, 2012

I would like to change the color and thickness of the lines as well.

I would like to change the color and thickness of the lines as well.

@pelson

This comment has been minimized.

Show comment Hide comment
@pelson

pelson Oct 18, 2012

Member

I would like to change the color and thickness of the lines as well.

What about changing the color of the line in the plot itself. How about the thickness of that line? What about changing the color of scatter points? Changing the cmap of a contour set?

For me, this opens up a whole (much bigger than legend) issue of turning matplotlib into an interactive plot editor (I'm sure there is a feature request for that somewhere). It is not something we are going to be able to do overnight, nor is it even something that will necessarily ever get done (although I personally would love to see it).

There have been various discussions in the past (@mdboom has been involved in some) for example http://matplotlib.1069221.n5.nabble.com/interactive-property-editor-td36177.html .

I'm not sure whether there is benefit in keeping this issue open or not. I think if we are going to do an interactive property editor, then you would be able to modify your legend elements, I certainly wouldn't be in favour of making an editor which supports only modifying legend elements. @mdboom - shall I close or keep?

Thanks,

Member

pelson commented Oct 18, 2012

I would like to change the color and thickness of the lines as well.

What about changing the color of the line in the plot itself. How about the thickness of that line? What about changing the color of scatter points? Changing the cmap of a contour set?

For me, this opens up a whole (much bigger than legend) issue of turning matplotlib into an interactive plot editor (I'm sure there is a feature request for that somewhere). It is not something we are going to be able to do overnight, nor is it even something that will necessarily ever get done (although I personally would love to see it).

There have been various discussions in the past (@mdboom has been involved in some) for example http://matplotlib.1069221.n5.nabble.com/interactive-property-editor-td36177.html .

I'm not sure whether there is benefit in keeping this issue open or not. I think if we are going to do an interactive property editor, then you would be able to modify your legend elements, I certainly wouldn't be in favour of making an editor which supports only modifying legend elements. @mdboom - shall I close or keep?

Thanks,

@mdboom

This comment has been minimized.

Show comment Hide comment
@mdboom

mdboom Oct 18, 2012

Owner

How about we close this in favor of a single issue for "plotting property editor" or some such. I think we must have one, too, but the search is not helping me find it...

Owner

mdboom commented Oct 18, 2012

How about we close this in favor of a single issue for "plotting property editor" or some such. I think we must have one, too, but the search is not helping me find it...

@efiring

This comment has been minimized.

Show comment Hide comment
@efiring

efiring Oct 18, 2012

Owner

I think it should be closed, for the reason stated by @pelson. Turning mpl into a plot editor is a huge project, possibly an unwise one, possibly something that could be done in a separate project; but it would be a topic for an MEP, not piecemeal feature requests.

Owner

efiring commented Oct 18, 2012

I think it should be closed, for the reason stated by @pelson. Turning mpl into a plot editor is a huge project, possibly an unwise one, possibly something that could be done in a separate project; but it would be a topic for an MEP, not piecemeal feature requests.

@dmcdougall

This comment has been minimized.

Show comment Hide comment
@dmcdougall

dmcdougall Oct 18, 2012

Member

I agree.

@pelson Do the honours?

Member

dmcdougall commented Oct 18, 2012

I agree.

@pelson Do the honours?

@pelson

This comment has been minimized.

Show comment Hide comment
@pelson

pelson Oct 19, 2012

Member

Thanks to everyone for their input. Particularly thanks to @nilswagner01 for bringing up the subject - I can completely see that this functionality would be a killer feature, but as a community we need to be careful how much we bite off, and if we do decide to go down the route of a full blown editor, as @efiring says, we would want to do it properly and not just piecemeal.

Thanks,

Member

pelson commented Oct 19, 2012

Thanks to everyone for their input. Particularly thanks to @nilswagner01 for bringing up the subject - I can completely see that this functionality would be a killer feature, but as a community we need to be careful how much we bite off, and if we do decide to go down the route of a full blown editor, as @efiring says, we would want to do it properly and not just piecemeal.

Thanks,

@pelson pelson closed this Oct 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment