Skip to content

Commit 2306628

Browse files
Bug fixes [Issue-136], [Issue-137] (#138)
Co-authored-by: Mark Yeatman <129521731+myeatman-bdai@users.noreply.github.com>
1 parent 12128c5 commit 2306628

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/sphinx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
if: ${{ github.event_name != 'pull_request' }}
1010
steps:
1111
- uses: actions/checkout@v2
12-
- name: Set up Python 3.7
12+
- name: Set up Python 3.8
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: 3.7
15+
python-version: 3.8
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip

spatialmath/base/graphics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ def plot_sphere(
982982
handles = []
983983
for c in centre.T:
984984
X, Y, Z = sphere(centre=c, radius=radius, resolution=resolution)
985-
handles.append(_render3D(ax, X, Y, Z, **kwargs))
985+
handles.append(_render3D(ax, X, Y, Z, pose=pose, **kwargs))
986986

987987
return handles
988988

@@ -1214,7 +1214,7 @@ def plot_cylinder(
12141214
) # Pythagorean theorem
12151215

12161216
handles = []
1217-
handles.append(_render3D(ax, X, Y, Z, filled=filled, **kwargs))
1217+
handles.append(_render3D(ax, X, Y, Z, filled=filled, pose=pose, **kwargs))
12181218
handles.append(
12191219
_render3D(ax, X, (2 * centre[1] - Y), Z, filled=filled, pose=pose, **kwargs)
12201220
)
@@ -1298,9 +1298,9 @@ def plot_cone(
12981298
Z = height - Z
12991299

13001300
handles = []
1301-
handles.append(_render3D(ax, X, Y, Z, filled=filled, **kwargs))
1301+
handles.append(_render3D(ax, X, Y, Z, pose=pose, filled=filled, **kwargs))
13021302
handles.append(
1303-
_render3D(ax, X, (2 * centre[1] - Y), Z, filled=filled, **kwargs)
1303+
_render3D(ax, X, (2 * centre[1] - Y), Z, pose=pose, filled=filled, **kwargs)
13041304
)
13051305

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy