Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bug fixes [Issue-136], [Issue-137] #138

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 3 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 4 .github/workflows/sphinx.yml
Copy link
Collaborator

Choose a reason for hiding this comment

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

Python 3.8 is already at EOL and may disappear from the GH environment at any time. Suggest we go for something like 3.12 so we don't have to touch this again for a few years.

Also note that checkout action is currently at v4, I don't know what the difference is, or whether the old ones eventually become deprecated.

We should check the python and action versions across all the workflow files, for sphinx building and code coverage.

Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
8 changes: 4 additions & 4 deletions 8 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
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.