Giter Club home page Giter Club logo

Comments (4)

nicolaskruchten avatar nicolaskruchten commented on August 10, 2024

Are you in JupyterLab by chance? There’s an extra installation step in the ReadMe for jlab... if not, can you tell me about your environment please?

from plotly_express.

pluiez avatar pluiez commented on August 10, 2024

Are you in JupyterLab by chance? There’s an extra installation step in the ReadMe for jlab... if not, can you tell me about your environment please?

Hi, thank you for your reply. I'm using Ubuntu 16.04 and python 3.7.3. I put the above code in a demo.py file and run it from the terminal, I'm sure I'm not in Jupyter notebook or ipython. The installed packages are as follows:

Package          Version 
---------------- --------
attrs            19.1.0  
certifi          2019.3.9
chardet          3.0.4   
decorator        4.4.0   
idna             2.8     
ipython-genutils 0.2.0   
jsonschema       3.0.1   
jupyter-core     4.4.0   
nbformat         4.4.0   
numpy            1.16.2  
pandas           0.24.2  
patsy            0.5.1   
pip              19.0.3  
plotly           3.7.1   
plotly-express   0.1.3   
pyrsistent       0.14.11 
python-dateutil  2.8.0   
pytz             2018.9  
requests         2.21.0  
retrying         1.3.3   
scipy            1.2.1   
setuptools       40.8.0  
six              1.12.0  
statsmodels      0.9.0   
traitlets        4.3.2   
urllib3          1.24.1  
wheel            0.33.1  

Please tell me if you need more information.

from plotly_express.

nicolaskruchten avatar nicolaskruchten commented on August 10, 2024

Ah so the issue is that Plotly Express only renders in a browser so you can't use it from the terminal alone. You need to either use Jupyter or save the resulting objects to HTML files and open those files in a browser.

from plotly_express.

pluiez avatar pluiez commented on August 10, 2024

Ah so the issue is that Plotly Express only renders in a browser so you can't use it from the terminal alone. You need to either use Jupyter or save the resulting objects to HTML files and open those files in a browser.

Oh I see. Thank you for your help!

from plotly_express.

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.