Skip to content

Commit

Permalink
Add plotting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tjstienstra committed Aug 29, 2023
1 parent c26beee commit 385fa87
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/brim/utilities/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def add_model(self, model: ModelBase, **kwargs):
----------
model : ModelBase
Model to add.
**kwargs : dict, optional
Kwargs are passed to :class:`brim.utilities.plotting.PlotModel`.
**kwargs
Keyword arguments are passed to :class:`brim.utilities.plotting.PlotModel`.
"""
self._children.append(
PlotModel(self.inertial_frame, self.zero_point, model, **kwargs))
Expand All @@ -68,8 +68,9 @@ def add_connection(self, connection: ConnectionBase, **kwargs):
----------
connection : ConnectionBase
Connection to add.
**kwargs : dict, optional
Kwargs are passed to :class:`brim.utilities.plotting.PlotConnection`.
**kwargs
Keyword arguments are passed to
:class:`brim.utilities.plotting.PlotConnection`.
"""
self._children.append(
PlotConnection(self.inertial_frame, self.zero_point, connection, **kwargs))
Expand All @@ -82,8 +83,9 @@ def add_load_group(self, load_group: LoadGroupBase, **kwargs):
----------
load_group : LoadGroupBase
Load group to add.
**kwargs : dict, optional
Kwargs are passed to :class:`brim.utilities.plotting.PlotLoadGroup`.
**kwargs :
Keyword arguments are passed to
:class:`brim.utilities.plotting.PlotLoadGroup`.
"""
self._children.append(
PlotLoadGroup(self.inertial_frame, self.zero_point, load_group, **kwargs))
Expand Down

0 comments on commit 385fa87

Please sign in to comment.