Giter VIP home page Giter VIP logo

Comments (4)

nerdcha avatar nerdcha commented on September 26, 2024

Could you clarify β€” are you running this locally, or on kaggle.com? If it's the latter, then yes: our free public kernels do not have external internet access.

from docker-python.

daavoo avatar daavoo commented on September 26, 2024

Hi there!

I'm talking about running the notebook on kaggle.com.

Good to know the fact that kernels don't have internet but I don't think that in my case the problem is related to that.

More specifically, what I'm able to do locally but I can't make on kaggle.com is to create an html file and display it on the notebook via IFrame. A simplified example:

with open("out.html", "w") as html:
    html.write("<h1>HELLO IFrame!</h1>")
from IPython.display import IFrame
IFrame("out.html", height=200, width=200)

Thank you for your attention!

from docker-python.

nerdcha avatar nerdcha commented on September 26, 2024

Ah, I see. The HTML returned from the Jupyter kernel gets sanitized by our front-end before being rendered, so I think the <iframe> tags are getting filtered out. We're aiming to support things like this, plus Javascript-based widgets and so on, but we can't do it immediately because our engineering resources are carefully rationed. Hopefully soon, though!

from docker-python.

onclick360-blog avatar onclick360-blog commented on September 26, 2024

I am using Jupyter Notebook as a public server and accessing remotely when i am trying to run some plot with plotly it's not showing on my remote web browser its throw error "127.0.0.1 refused to connect." not sure in iframe how to use original server ip instead of 127.0.0.1.

from docker-python.

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.