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

Back to \addlegendentry #166

Merged
merged 7 commits into from
Feb 8, 2021
Merged

Back to \addlegendentry #166

merged 7 commits into from
Feb 8, 2021

Conversation

tawheeler
Copy link
Member

@tawheeler tawheeler commented Feb 7, 2021

We recently moved from using \addlegendentry for legend entries to having a single \legend filing at the end of all of the plot entries. Unfortunately, this approach does not play well with entries that are not included in the legend, such as when "forget plot" is used.

This PR reverts back to using individual \addlegendentry calls, but adds in the {}{entry} trick that the previous PR used to guard against commas in an entry.

This PR also moves away from === and !== used for nothing comparisons in favor of isnothing and !isnothing.

@tawheeler tawheeler self-assigned this Feb 7, 2021
@tawheeler tawheeler requested a review from mykelk February 7, 2021 22:08
@tawheeler
Copy link
Member Author

@mykelk I updated the notebook kernel to Julia 1.5, which I think is the cause of the build failure. I can revert the kernel to 1.3.

@tawheeler tawheeler merged commit 809f76b into master Feb 8, 2021
@tawheeler tawheeler deleted the tim_back_to_addlegendentry branch February 8, 2021 04:30
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.

None yet

1 participant