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

Move matplotlib code into to the backend #36

Merged
merged 3 commits into from
Apr 17, 2024

Conversation

swright87
Copy link
Collaborator

Related issues

N/A

Proposed changes

This PR moves the matplotlib code out of the cascade and navchart upper level files and into the matplotlib backend.

This makes it clearer to extend the library with additional backends.

@Pennycook Pennycook requested review from Pennycook and laserkelvin and removed request for Pennycook April 5, 2024 18:03
@Pennycook Pennycook added the enhancement New feature or request label Apr 5, 2024
Copy link
Contributor

@Pennycook Pennycook left a comment

Choose a reason for hiding this comment

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

Thank you for doing this. The refactor is a lot cleaner, and it was much easier to review this without the PGF plots changes mixed in.

Things mostly look good to me. I have a couple of small suggestions, and I'd like to hear what @laserkelvin thinks too.

p3/plot/_cascade.py Outdated Show resolved Hide resolved
p3/plot/backend/matplotlib.py Outdated Show resolved Hide resolved
p3/plot/_cascade.py Outdated Show resolved Hide resolved
p3/plot/_cascade.py Outdated Show resolved Hide resolved
Copy link
Contributor

@Pennycook Pennycook left a comment

Choose a reason for hiding this comment

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

This looks good to me, but I'd like @laserkelvin to weigh in too before I merge anything.

@swright87: This is really pedantic, but I'd also prefer if your commit message didn't end with a period. Would you mind changing that?

Signed-off-by: Steven Wright <steven.wright@york.ac.uk>
Signed-off-by: Steven Wright <steven.wright@york.ac.uk>
Signed-off-by: Steven Wright <steven.wright@york.ac.uk>
@swright87
Copy link
Collaborator Author

swright87 commented Apr 17, 2024

@swright87: This is really pedantic, but I'd also prefer if your commit message didn't end with a period. Would you mind changing that?

Done (and fixed the previous commit message with a period too...).

@Pennycook Pennycook merged commit 69aaa92 into intel:main Apr 17, 2024
5 checks passed
@Pennycook
Copy link
Contributor

Thank you, @swright87!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants