Comments (5)
I did the same but I didn't run into an AttributeError
.
I could also type the following in a terminal :
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import plotly.graph_objs as go
>>> go.layout.Shape()
layout.Shape()
>>>
from dash-bio.
@Bachibouzouk Did you do a fresh clone of the repository, a new virtual environment, and then run it? If it still works after that, then we should investigate further.
from dash-bio.
it's probably just related to the plotly version (I think mine might not be updated :) ) but I didn't see that in the requirements.txt file - so maybe adding that with a version that works with the above syntax will allow this to work for all users
(venv3) ➜ dash-repos python
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 03:03:55)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import plotly.graph_objs as go
>>> go.layout.Shape()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'plotly.graph_objs' has no attribute 'layout'
>>> import plotly
>>> plotly.__version__
'2.5.1'
>>> quit()
from dash-bio.
@Bachibouzouk Did you do a fresh clone of the repository, a new virtual environment, and then run it? If it still works after that, then we should investigate further.
@shammamah : I did that
@cldougl My plotly version is 3.5
, it installs automatically as a requirement for dash, maybe if you already have plotly installed it doesn't upgrade it to the newer version?
from dash-bio.
yep exactly @Bachibouzouk - so if you need a specific version of plotly you can add that to the requirements.txt file so it will update if the user doesn't have the correct version
from dash-bio.
Related Issues (20)
- Molecule3dViewer from .xyz? HOT 1
- More customizable dash-bio Oncoprint features?
- Removing heatmap outline in Circos plot?
- Alignment chart hover display
- Small bug in dash-bio/dash_bio/component_factory/_manhattan.py HOT 1
- Re-enable Speck component tests
- Can't display ESMFold Protein Predictions HOT 1
- Y axis labels overlapping
- Clustergram documentation error
- Clustergram "row_colors" and "column_colors" properties documentation not clear HOT 2
- jsme in callbacks HOT 1
- Oncoprint error: Cannot read properties of undefined (reading 'displayName') HOT 1
- Molecule3dViewer dynamic height and width
- NglMoleculeViewer downloadImage resets view
- JSME examples don't run - fails to load /jsme/jsme.nocache.js HOT 1
- dash_bio.Circos tooltip wrong position if page is scrolled HOT 2
- ManhattanPlot: Incorrect tooltip information for all variants below threshold HOT 1
- Nonstandard Atom Window Text Input Element Unfocusable HOT 1
- js element TypeError: Cannot read properties of undefined (reading 'Config')
- .xyz file parser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dash-bio.