Skip to content

Commit

Permalink
collection of bug fixes: [Issue-136], [Issue-137], github worker
Browse files Browse the repository at this point in the history
  • Loading branch information
jcao-bdai committed Sep 27, 2024
1 parent cf115f6 commit 84c5b80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spatialmath/base/graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ def plot_sphere(
handles = []
for c in centre.T:
X, Y, Z = sphere(centre=c, radius=radius, resolution=resolution)
handles.append(_render3D(ax, X, Y, Z, **kwargs))
handles.append(_render3D(ax, X, Y, Z, pose=pose, **kwargs))

return handles

Expand Down Expand Up @@ -1214,7 +1214,7 @@ def plot_cylinder(
) # Pythagorean theorem

handles = []
handles.append(_render3D(ax, X, Y, Z, filled=filled, **kwargs))
handles.append(_render3D(ax, X, Y, Z, filled=filled, pose=pose, **kwargs))
handles.append(
_render3D(ax, X, (2 * centre[1] - Y), Z, filled=filled, pose=pose, **kwargs)
)
Expand Down Expand Up @@ -1298,9 +1298,9 @@ def plot_cone(
Z = height - Z

handles = []
handles.append(_render3D(ax, X, Y, Z, filled=filled, **kwargs))
handles.append(_render3D(ax, X, Y, Z, pose=pose, filled=filled, **kwargs))
handles.append(
_render3D(ax, X, (2 * centre[1] - Y), Z, filled=filled, **kwargs)
_render3D(ax, X, (2 * centre[1] - Y), Z, pose=pose, filled=filled, **kwargs)
)

if ends and kwargs.get("filled", default=False):
Expand Down

0 comments on commit 84c5b80

Please sign in to comment.