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

question about ObservableHQ #20

Closed
cornhundred opened this issue Jul 20, 2023 · 2 comments
Closed

question about ObservableHQ #20

cornhundred opened this issue Jul 20, 2023 · 2 comments

Comments

@cornhundred
Copy link

Hi, I have a few questions related to ObservableHQ and how you've built pyobsplot:

  • Is it possible to import an ObservableHQ notebook into anywidget?
  • Are you importing the observable runtime in your anywidget front-end code?

I'm curious if I could reproduce something similar to this widget using notebooks I've made on ObservableHQ.

@juba
Copy link
Owner

juba commented Jul 20, 2023

Hi, this widget only allows to produce charts with Observable Plot, it has nothing to do with Observable notebooks (except that Plot is developed by Observable). So pyobsplot won't allow you to import notebook cells. And we don't use the observable runtime either.

I created an R package to import Observable notebook cells, but it will not solve your problem if you're using Python...

@cornhundred
Copy link
Author

Thanks for the info! Yes, I've seen this robservable library and used the similar library for embedding ObservableHQ plots Python https://github.com/thomasballinger/observable-jupyter and the widget version https://github.com/thomasballinger/observable-jupyter-widget. I'm wondering if we can do something similar using anywidget. I'll definitely check out this repo too. It looks great :)

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