Skip to content
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

Compatible with Jupyter Lab? #140

Closed
kojix2 opened this issue Jan 25, 2019 · 7 comments
Closed

Compatible with Jupyter Lab? #140

kojix2 opened this issue Jan 25, 2019 · 7 comments

Comments

@kojix2
Copy link
Member

kojix2 commented Jan 25, 2019

Hello!

Hello.
Thank you for developing a powerful gem.

But, Is daru / view compatible with Jupyter Lab?
https://jupyterlab.readthedocs.io/en/stable/

I got errors when I tried to use daru/view with Jupyter Lab.
But Jupyter Notebook works well.
So I can use daru-view now.

image
image

@kojix2
Copy link
Member Author

kojix2 commented Jan 25, 2019

#130
Solved. I installed latest version of Daru.
Thank you.

@kojix2 kojix2 closed this as completed Jan 25, 2019
@Shekharrajak
Copy link
Member

Shekharrajak commented Jan 25, 2019

Hello @kojix2 , Thanks for update about the issue ! New version of the daru will be released soon and this issue will not occur.

I mostly tested graphs in IRuby notebook, simply running iruby notebook. I believe you have installed iruby gem and registered the Ruby 2.6.0, then running the Jupyter lab, right ? Just curious to know, if there is anyother way :)

@kojix2
Copy link
Member Author

kojix2 commented Jan 25, 2019

Yes. That's right @Shekharrajak
I use Ruby 2.6.0 + Ubuntu + Jupyter Lab
I just type jupyter lab instead of jupyter notebook. Then start Ruby 2.6 lab notebook.
It works well!
That's fantastic!

image

@kojix2 kojix2 reopened this Feb 15, 2019
@kojix2
Copy link
Member Author

kojix2 commented Feb 15, 2019

Well Google charts works. However, the high charts does not work on Jupyter Lab.

@Shekharrajak
Copy link
Member

@kojix2 , please paste the code that you are using.

@kojix2
Copy link
Member Author

kojix2 commented Mar 14, 2019

Well..
I checked only Google Charts and misunderstood that everything was working.
Google Charts became usable by installing the latest Daru. But highcharts do not work.
You will see Javascript code as shown in the first image of this issue.

@Shekharrajak
Copy link
Member

Hi @kojix2 ,

I believe you have set the plotting library to :highcharts to use this adapter by running Daru::View.plotting_library = :highcharts.

This will load the required js files in your webpage or IRuby notebook.

Please confirm it once.

@kojix2 kojix2 closed this as completed Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants