-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
qgrid - plotly conflict #373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am getting javascript type error : require not a function, for custom widget, on import and initialization of plotly in offline mode |
I do not understand JS but I think following lines of code in offline.py causing errors:
|
I saw this too, same error. Ideas? @djchou what are you trying to do with both qgrid and plotly? |
One displays tables well, the other displays graphs well. It makes sense to have both in the same notebook |
See plotly/plotly.js#90 for more info. |
Agreed @djchou. I was just wondering if you were building a UI/library that used both or just your own personal notebook :) We are building a visualization widget for Ipython at https://github.com/jupyter-incubator/sparkmagic/tree/master/remotespark/datawidgets in case you want to take a look! The intention is to decouple it from the sparkmagic project and put the widget into its own repo 👍 |
I'm using plotly offline in a jupyter notebook. I'm coming across an error that i can't seem to debug.
Here is my code:
import qgrid
import Quandl
import plotly
from plotly.offline import download_plotlyjs, init_notebook_mode, iplot
aapl = Quandl.get('yahoo/aapl')
qgrid.nbinstall(overwrite=True)
works ok
qgrid.show_grid(aapl)
init_notebook_mode()
no longer works ok
qgrid.show_grid(aapl)
The error message is
"
Javascript error adding output!
TypeError: Cannot read property 's' of undefined
See your browser Javascript console for more details.
"
The text was updated successfully, but these errors were encountered: