Skip to content
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

k3d grid disappears on detached widget #78

Open
CagtayFabry opened this issue Jul 13, 2022 · 3 comments
Open

k3d grid disappears on detached widget #78

CagtayFabry opened this issue Jul 13, 2022 · 3 comments

Comments

@CagtayFabry
Copy link
Member

when using the k3d 'detached widget' function the grid disappears and does not come back

I cannot reproduce this error in basic k3d examples so I think it might be related to the way we set the grid limits

@marscher
Copy link
Contributor

marscher commented Sep 1, 2022

It makes sense, that if you were not able to reproduce this without wx widgets, to seek the source of this behaviour here.
What is this detached widget thing any ways?
Where do we set grid limits explicitly? Shouldn't these arise from the given data?

@CagtayFabry
Copy link
Member Author

The "detached widget" pops out the k3d plot into it's own browser window.
I tried using it for some screen recordings but it's not really necessary for us I think

We fiddle with the plot limits here

if limits is None:
limits = self._get_limits()

But I would leave that part for now until we decide if and how to refactor some of elements of the k3d widget

@CagtayFabry
Copy link
Member Author

This was probably solved by k3d=2.16.1 K3D-tools/K3D-jupyter#429

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

No branches or pull requests

2 participants