Skip to content

Conversation

@GuillaumeFavelier
Copy link
Contributor

@GuillaumeFavelier GuillaumeFavelier commented Apr 13, 2021

This PR brings the second wave of changes to adapt to PyVista 0.30.0 and PyVistaQt 0.3.0+

ToDo:

Follows #9274
Related to pyvista/pyvista#1257

@GuillaumeFavelier GuillaumeFavelier self-assigned this Apr 13, 2021
# pyvista<=0.30.0
self.plotter._key_press_event_callbacks.clear()
except AttributeError:
# pyvista>=0.30.0
Copy link
Member

Choose a reason for hiding this comment

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

== 0.30.0 will match both though?? 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should be fixed in 6f98ca8

Copy link
Member

Choose a reason for hiding this comment

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

should probably be 0.3.0 not 0.30.0

@GuillaumeFavelier
Copy link
Contributor Author

I think Circle does not want to install PyVistaQt master because dev0 is missing in the version number.

@GuillaumeFavelier
Copy link
Contributor Author

I opened pyvista/pyvistaqt#97 (comment)

@GuillaumeFavelier GuillaumeFavelier changed the title WIP,FIX: Prepare for PyVista 0.30.0 (part 2) FIX: Prepare for PyVista 0.30.0 (part 2) Apr 16, 2021
@GuillaumeFavelier
Copy link
Contributor Author

Okay, with this we should (hopefully) be better prepared for pyvista 0.30.0.

@larsoner larsoner merged commit d0a0695 into mne-tools:main Apr 19, 2021
@larsoner
Copy link
Member

Pushed a tiny cosmit, thanks @GuillaumeFavelier !

@GuillaumeFavelier GuillaumeFavelier deleted the patch/pyvista branch April 19, 2021 12:36
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