Skip to content

Added call to axes.legend() in apply_callback to fix legend not updating bug.#4856

Closed
kdz wants to merge 1 commit into
matplotlib:masterfrom
kdz:master
Closed

Added call to axes.legend() in apply_callback to fix legend not updating bug.#4856
kdz wants to merge 1 commit into
matplotlib:masterfrom
kdz:master

Conversation

@kdz
Copy link
Copy Markdown

@kdz kdz commented Aug 3, 2015

Legend now updates with rest of applied changes in qt backend editor.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The point of the block of code above this is to only do this if the user has asked. This will unconditionally add a legend, even if the user did not have one before and will destroy any non-default legend the user has created.

@kdz
Copy link
Copy Markdown
Author

kdz commented Aug 3, 2015

Ah, I see the (Re-)generate automatic legend checkbox. Didn't notice that option before so thought there was a bug!

@tacaswell
Copy link
Copy Markdown
Member

@kdz No worries! Thank you for taking the time to put in a PR. Hopefully we will hear from you again soon.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants