Coder Social home page Coder Social logo

Comments (3)

sarasafavi avatar sarasafavi commented on June 4, 2024

@robmarkcole please double-check the API key you passed into the container via docker run.

From any Notebook, you can do this by adding a codeblock and running:

import os
print(os.getenv("PL_API_KEY"))

If the value printed is anything other than the string '12345', where 12345 is your API key, then you need to re-run docker run with the correct API key.

NOTE: your output value may be e.g., '[12345]' -- that's a common mis-reading of the README instructions. Please note that the square brackets are not part of an API key to pass in!

Note you also don't set %matplotlib inline in this notebook

This Notebook uses plt.show() to trigger inline figure displays, and likewise %matplotlib inline is not necessary:

image

from notebooks.

robmarkcole avatar robmarkcole commented on June 4, 2024

@sarasafavi I was indeed using the [ ]

Re the %matplotlib inline, the first time I run the cell no plot is displayed, I just see:

image

This is why I concluded %matplotlib inline is required. However on running the cell a second time, the plot is displayed..!

from notebooks.

tarnetintern avatar tarnetintern commented on June 4, 2024

@sarasafavi I was indeed using the [ ]

Re the %matplotlib inline, the first time I run the cell no plot is displayed, I just see:

image

This is why I concluded %matplotlib inline is required. However on running the cell a second time, the plot is displayed..!

U need use jupyter notebook. I see you using another kernel

from notebooks.

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.