Skip to content

ENH: Move Motor Plots and Prints #387

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

Merged
merged 8 commits into from
Jun 30, 2023

Conversation

MateusStano
Copy link
Member

@MateusStano MateusStano commented Jun 29, 2023

Pull request type

Please check the type of change your PR introduces:

  • Code base additions (bugfix, features)
  • Code maintenance (refactoring, formatting, renaming, tests)
  • ReadMe, Docs and GitHub maintenance
  • Other (please describe):

Pull request checklist

  • Tests for the changes have been added
  • Docs have been reviewed and added / updated if needed
  • Lint (black rocketpy) has passed locally and any fixes were made
  • All tests (pytest --runslow) have passed locally

What is new?

One more PR to move the plots and prints. Few important notes

  • The plots and prints file of the classes Tank, TankGeometry and Fluid do not print or plot anything. This is because those classes do not have any plots or prints. They will eventually get proper prints and plots, so the structure is already there for when it is needed.

  • I made it so, in the motor plots files, the plot methods receive the limits of the x axis of the plot. I think this is really useful and should be implemented in all other classes in some other PR

@MateusStano MateusStano self-assigned this Jun 29, 2023
@Gui-FernandesBR Gui-FernandesBR added Refactor Outputs Dedicated to visualizations enhancements like prints and plots labels Jun 29, 2023
@Gui-FernandesBR Gui-FernandesBR added this to the Release v1.0.0 milestone Jun 29, 2023
@Gui-FernandesBR
Copy link
Member

The following issue can/may be fixed with this PR, saving here for later :)

image

@Gui-FernandesBR Gui-FernandesBR mentioned this pull request Jun 30, 2023
15 tasks
 enh/move-liquid-plots-and-prints
- Sort imports
- avoid printing blank lines
- more prints and plots for tank geometry
@Gui-FernandesBR
Copy link
Member

be524dc

Solved here: be524dc

Copy link
Member

@Gui-FernandesBR Gui-FernandesBR left a comment

Choose a reason for hiding this comment

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

Well done @MateusStano !!

The changes that I considered important, I already implemented in the last two commits.

@Gui-FernandesBR Gui-FernandesBR merged commit c60b5bb into enh/liquid-motors Jun 30, 2023
@Gui-FernandesBR Gui-FernandesBR deleted the enh/move-liquid-plots-and-prints branch June 30, 2023 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Outputs Dedicated to visualizations enhancements like prints and plots Refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants