Skip to content

Check that axes_widget is truthy#726

Merged
larsoner merged 2 commits intomainfrom
maint/axes_widget_not_none
Jul 17, 2025
Merged

Check that axes_widget is truthy#726
larsoner merged 2 commits intomainfrom
maint/axes_widget_not_none

Conversation

@user27182
Copy link
Contributor

Upstream as part of pyvista/pyvista#7716, setting dynamic attributes on the plotter will no longer be allowed. As such, BasePlotter.axes_widget is set to None during init. This means that it's no longer sufficient to check if the attribute exists, and it's necessary to also check it's not None.

I am seeing integration test failures here:
https://github.com/pyvista/pyvista/actions/runs/16335129476/job/46145621302?pr=7716#step:8:1177
I'm pretty sure they'll all be resolved by this PR

Copy link
Member

@tkoyama010 tkoyama010 left a comment

Choose a reason for hiding this comment

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

LGTM

@larsoner larsoner merged commit 80d2f8a into main Jul 17, 2025
29 checks passed
@larsoner larsoner deleted the maint/axes_widget_not_none branch July 17, 2025 14:45
@larsoner
Copy link
Contributor

Thanks @user27182 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants