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

We need a checker on lab vs notebook. #16

Open
michaelaye opened this issue Dec 6, 2019 · 1 comment
Open

We need a checker on lab vs notebook. #16

michaelaye opened this issue Dec 6, 2019 · 1 comment

Comments

@michaelaye
Copy link

Just got badly trapped by trying to use lab_black when running Jupyter notebook, it would be best if this could be done transparently on the plugin side. there should be a way to determine if it's run inside either?

@dnanhkhoa
Copy link
Owner

I agree with you about that. Unfortunately I have tried many ways but didn't work totally. I guess Jupyter Notebook and JupyerLab are just web application (frontend side) running on the same IPython backend so that using Python code won't work. Maybe checking environment variables or using Javascript inside could help. How about your idea?

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