GithubHelp home page GithubHelp logo

nteract / examples Goto Github PK

View Code? Open in Web Editor NEW
26.0 40.0 21.0 2.28 MB

Example nteract notebooks with links to execution on mybinder.org

License: BSD 3-Clause "New" or "Revised" License

Jupyter Notebook 99.86% JavaScript 0.14%
nteract notebooks binder mybinder plotly vegalite altair geojson

examples's Issues

Usage of Deprecated module plotly.plotly in the Plotly example notebook

nteract Version : 0.28.0
Notebook: python\plotly.ipynb

In the cell demonstrating the advanced scatter plot features using the Life expectancy vs Per Capita GDP, the notebook is using the old deprecated module plotly.plotly and throws an error.

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
C:\Users\USERNAME\AppData\Local\Temp/ipykernel_21460/3045308087.py in <module>
----> 1 import plotly.plotly as py
      2 import plotly.graph_objs as go
      3 
      4 import pandas as pd
      5 import math

C:\Python39\lib\site-packages\plotly\plotly\__init__.py in <module>
      2 from _plotly_future_ import _chart_studio_error
      3 
----> 4 _chart_studio_error("plotly")

C:\Python39\lib\site-packages\_plotly_future_\__init__.py in _chart_studio_error(submodule)
     41 
     42 def _chart_studio_error(submodule):
---> 43     raise ImportError(
     44         """
     45 The plotly.{submodule} module is deprecated,

ImportError: 
The plotly.plotly module is deprecated,
please install the chart-studio package and use the
chart_studio.plotly module instead.

If installed chart-studio and changed to the first line to import chart_studio.plotly as py it works fine.

It would be better to change the module to the newer and working chart-studio.

Example links 404

Hi folks – awesome project (and we're exploring using it to replace the Jupyter notebook interfaces in our microbial genomics platform)!

I wanted to flag that the example links all seem to 404 on Binder (as of 1/21/19). After clicking about the view a bit, I can get to a version that'll render in Binder, but it's doing so in a vanilla Jupyter notebook.

Didn't have a chance to dig in much further, but hopefully it's either a temporary issue or a simple URL change. 🤞

Create training notebooks

People seem to enjoy our example notebooks (they also make demoing easy!). I'd like for us to have some organized sections specific to each language and a basic intro notebook:

  • Welcome to nteract!
  • Python
    • Pandas to GeoJSON
    • Integrating your objects with IPython
    • Updating Displays by Name
  • JavaScript
    • Custom revivers for JSON.parse
    • Integrating your objects with IJavaScript
  • R
    • Using ggplot
    • Distributing Analysis with Sparklyr
    • Integrating your objects (?) with IRkernel
    • Yes, it's the iris data set again

In the long run we might have a better indexed grouping of content - for now we have a hierarchical menu that we can curate.

Install IJavascript kernel

The node.js notebook(s) needs the IJavascript kernel installed in our binder image. We need it added to our conda config. 😄

Add Julia example notebook

I'd like to add a Julia example notebook, like the examples for R, Python and Node that are accessible via the menu. If someone can point me to the place where I would add a Julia item to the menu and then also where I should add the actual notebook file, I'll open a PR.

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.