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

Do not include legend box if there is no legend #58

Merged
merged 4 commits into from
Apr 16, 2024

Conversation

GComitini
Copy link
Contributor

Currently, if a Plot2D is created and no legend is set, the plot still includes an empty legend box in the form of a small empty square placed at some corner of the image. This PR fixes this behavior, only drawing the legend if the legend vector is not empty.

Axect and others added 4 commits April 14, 2024 01:18
- Whole new root finding
- from thiserror to anyhow
- Connect with Zenodo
- Broyden's method
@Axect Axect changed the base branch from master to dev April 16, 2024 01:01
@Axect Axect merged commit e13f060 into Axect:dev Apr 16, 2024
@Axect
Copy link
Owner

Axect commented Apr 16, 2024

Hello @GComitini ,

Thank you for your interest in the Peroxide project and for taking the time to submit this pull request. I appreciate your valuable contribution in fixing the empty legend box issue for Plot2D.

I have reviewed your changes, and they look great. The code effectively addresses the problem and will improve the user experience.

I have merged your pull request into the dev branch, and it will be included in the upcoming Peroxide release.

Once again, thank you for your contribution. We value the support and involvement of the community in making Peroxide better.

Best regards,
Axect

Axect added a commit that referenced this pull request Apr 16, 2024
- Do not include legend box if there is no legend (#58)
- Add rtol for Broyden method
- High-level macros for root finding
Axect added a commit that referenced this pull request Apr 16, 2024
- Do not include legend box if there is no legend (#58)
- Add rtol for Broyden method
- High-level macros for root finding
@Axect
Copy link
Owner

Axect commented Apr 16, 2024

Hello,

I published new version - v0.37.2 including your PR.
Thank you again for contribution!

@GComitini GComitini deleted the fix-no-legend branch April 16, 2024 07:16
@GComitini
Copy link
Contributor Author

Hello, thank you for the merge!

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