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

Improve examples #956

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Improve examples #956

wants to merge 12 commits into from

Conversation

aclerc
Copy link

@aclerc aclerc commented Aug 5, 2024

Improve examples

Simple changes to fix ruff issues in the example files and get the plots to display when I run the example scripts.

The key functional change is adding plt.show() and plt.close() after all plots. This makes all the plots visible when running these examples as scripts in the PyCharm IDE.

I tend to use more ruff rules than currently enabled in the floris repo so some of the linting changes are above and beyond what floris requires now.

I made a few minor fixes along the way like fixing typos in axes labels.

@aclerc aclerc marked this pull request as draft August 5, 2024 14:49
@aclerc aclerc marked this pull request as ready for review August 5, 2024 16:16
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.

1 participant