GithubHelp home page GithubHelp logo

Comments (12)

MSeal avatar MSeal commented on August 30, 2024 1

Yep still not solved, too many projects :) It's in my queue of things to go do but my free time has been severely constrained lately.

from nbclient.

choldgraf avatar choldgraf commented on August 30, 2024 1

Pssshhh next you're gonna tell me that a global crisis has happened or something 😅😭

from nbclient.

SylvainCorlay avatar SylvainCorlay commented on August 30, 2024 1

I think this solution is actually clean.

from nbclient.

SylvainCorlay avatar SylvainCorlay commented on August 30, 2024 1

We may want to provide a hook for providers of (other) comm targets than jupyter-widgets implementing things that impact the notebook state to provide similar pure python "front ends" like this output widget.

Will open a PR for this tomorrow.

from nbclient.

MSeal avatar MSeal commented on August 30, 2024 1

With the 0.4.0 release this is now solved. Note you still have to "Trust Notebook" in classic UI when loading in a browser after execution like other js generating components.. Thanks @maartenbreddels for tackling the implementation!

from nbclient.

choldgraf avatar choldgraf commented on August 30, 2024

I just want to confirm that this is still an unresolved issue, right? I know we've had some changes in nbclient since this opened up but none of that resolve this yeah?

from nbclient.

SylvainCorlay avatar SylvainCorlay commented on August 30, 2024

Should we move the mechanism we have in Voilà to handle that to nbclient?

The VoilaExecutor inerits from NotebookClient, and includes a mock OutputWidget which mimicks the behavior of the real front-end output widget.

This was developed by @maartenbreddels and I think he should be credited with the commit should this be included in nbclient.

from nbclient.

choldgraf avatar choldgraf commented on August 30, 2024

I was thinking the same thing actually. @maartenbreddels gave some helpful pointers here jupyter/nbconvert#923 (comment) though nobody has implemented a solution yet. I think I'd be +1 on it unless somebody else has a cleaner solution in mind

from nbclient.

choldgraf avatar choldgraf commented on August 30, 2024

That's sounds great, I didn't mean to imply this wasn't a clean solution, it seems good to me. I will defer to you all about the right approach 👍

from nbclient.

MSeal avatar MSeal commented on August 30, 2024

I'm all for adding this from Voilà. While I didn't get around to implementing the same logic I'll gladly review a PR

from nbclient.

maartenbreddels avatar maartenbreddels commented on August 30, 2024

I agree, I think nbclient is the right place for this. Happy to port the work + test to nbclient.
Long term I think the way the Output widget works should change.

from nbclient.

choldgraf avatar choldgraf commented on August 30, 2024

Indeed, thanks so much @maartenbreddels :-)

from nbclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.