Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manipulation of legend parameters from the navigation toolbar #682

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

Manipulation of legend parameters from the navigation toolbar #682

nilswagner01 opened this issue Jan 18, 2012 · 8 comments

Comments

@nilswagner01
Copy link

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
Copy link

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
Copy link
Author

I would like to change the legend text.

@nilswagner01
Copy link
Author

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

@pelson
Copy link
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
Copy link
Member

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
Copy link
Member

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
Copy link
Member

I agree.

@pelson Do the honours?

@pelson
Copy link
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 as completed Oct 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants