Skip to content

Commit

Permalink
MNT: Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Feb 10, 2024
1 parent c60bbab commit f234624
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 4 additions & 3 deletions rocketpy/plots/monte_carlo_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def ellipses(
The path to the image to be used as the background
actual_landing_point : tuple, optional
A tuple containing the actual landing point of the rocket, if known.
Useful when comparing the monte_carlo results with the actual landing.
Useful when comparing the Monte Carlo results with the actual landing.
Must be given in tuple format, such as (x, y) in meters.
By default None.
perimeterSize : int, optional
Expand Down Expand Up @@ -109,7 +109,8 @@ def ellipses(

# Add title and labels to plot
ax.set_title(
"1$\\sigma$, 2$\\sigma$ and 3$\\sigma$ monte_carlo Ellipses: Apogee and Landing Points"
"1$\\sigma$, 2$\\sigma$ and 3$\\sigma$ "
+ "Monte Carlo Ellipses: Apogee and Landing Points"
)
ax.set_ylabel("North (m)")
ax.set_xlabel("East (m)")
Expand Down Expand Up @@ -146,7 +147,7 @@ def ellipses(
plt.show()

def all_results(self, keys=None):
"""Plot the results of the monte_carlo analysis.
"""Plot the results of the Monte Carlo analysis.
Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion rocketpy/simulation/monte_carlo.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class MonteCarlo:
prints : _MonteCarloPrints
Object with methods to print information about the monte carlo
simulation.
plot : _MonteCarloPlots
plots : _MonteCarloPlots
Object with methods to plot information about the monte carlo
simulation.
"""
Expand Down
8 changes: 4 additions & 4 deletions rocketpy/stochastic/stochastic_aero_surfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def create_object(self):
Returns
-------
trapezoidalfins : TrapezoidalFins
fins : TrapezoidalFins
TrapezoidalFins object with the randomly generated input arguments.
"""
generated_dict = next(self.dict_generator())
Expand Down Expand Up @@ -334,7 +334,7 @@ def create_object(self):
Returns
-------
ellipticalfins : EllipticalFins
fins : EllipticalFins
EllipticalFins object with the randomly generated input arguments.
"""
generated_dict = next(self.dict_generator())
Expand Down Expand Up @@ -388,7 +388,7 @@ def __init__(
See Also
--------
This should link to somewhere that explains how inputs works in
TODO: This should link to somewhere that explains how inputs works in
stochastic models.
Parameters
Expand Down Expand Up @@ -497,7 +497,7 @@ def create_object(self):
Returns
-------
railbuttons : RailButtons
rail_buttons : RailButtons
RailButtons object with the randomly generated input arguments.
"""
generated_dict = next(self.dict_generator())
Expand Down

0 comments on commit f234624

Please sign in to comment.