Conversation
|
@banesullivan based on a local https://github.com/pyvista/pyvistaqt/actions/runs/4105641264/jobs/7083928451#step:9:93 It's not really clear to me why that PR broke stuff here. Do you have time to look? |
|
Ah, this makes sense. |
|
I'll look into this. My first reaction is that |
Though this error makes no sense. |
|
I can't install after |
You also need
I suspect what is happening is that the code you changed is raising an error. This error causes it to move on from the |
|
Thanks for the install tip... thought it must be something simple! I think you are spot on with Lines 419 to 427 in 71605d3 I think that needs to be updated to also check |
But why would it need to do that now when it didn't earlier? Just to test this idea I changed now I get to see the actual error: So I suspect this might be the new error that is occurring, even though it shows up as an AttributeError in So I suspect that PR changed somethng with the screenshot / image behavior that is problematic... |
Codecov Report
@@ Coverage Diff @@
## main #306 +/- ##
=======================================
Coverage 97.31% 97.31%
=======================================
Files 8 8
Lines 670 671 +1
Branches 82 82
=======================================
+ Hits 652 653 +1
Partials 18 18 |
|
Ooo, this is bigger than just pyvista/pyvista#3889 We need to set diff --git a/pyvistaqt/plotting.py b/pyvistaqt/plotting.py
index c022348..f7a58f0 100644
--- a/pyvistaqt/plotting.py
+++ b/pyvistaqt/plotting.py
@@ -268,6 +268,7 @@ class QtInteractor(QVTKRenderWindowInteractor, BasePlotter):
renderer.enable_depth_peeling()
self._first_time = False # Crucial!
+ self._rendered = True
LOG.debug("QtInteractor init stop")
def _setup_interactor(self, off_screen: bool) -> None:Not that we do the same thing for |
|
We need to do a better job of expose |
Can you push here to get yourself the credit? :) |
|
Note: we may want |
|
Will do. I'll poke around and see if there is a better place to put it |
|
Actually. The better way to go about this may be to override |
|
Thanks for the quick fix @banesullivan ! We should probably cut a pyvistaqt bugfix release |
|
Can you handle the patch release, or do you want me to? |
|
I've never done it for pyvistaqt, but if it's just 1) tag with appropriate name, 2) push tag, 3) cut release on GitHub, and 4) update version here, then I can do it |
|
... of course I mean after step 0) merge #307 :) |
Hopefully will show a failure with latest pyvista observed in MNE-Python